diff options
-rwxr-xr-x | tools/route-server/route-server-docker.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/route-server/route-server-docker.sh b/tools/route-server/route-server-docker.sh index 1ce8fbe6..c9aad6ad 100755 --- a/tools/route-server/route-server-docker.sh +++ b/tools/route-server/route-server-docker.sh @@ -86,9 +86,7 @@ case "$1" in sudo docker pull osrg/quagga sudo docker pull osrg/gobgp sudo mkdir /usr/local/gobgp - sudo docker run --privileged=true -v /usr/local/gobgp:/mnt --name gobgp -id osrg/gobgp go run /root/gobgp/tools/route-server/quagga-rsconfig.go -c /mnt - sudo docker wait gobgp - sudo docker rm gobgp + sudo docker run --privileged=true -v /usr/local/gobgp:/mnt --name gobgp --rm osrg/gobgp go run /root/gobgp/tools/route-server/quagga-rsconfig.go -c /mnt ;; *) echo $1 |