summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtools/route-server/route-server-docker.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/route-server/route-server-docker.sh b/tools/route-server/route-server-docker.sh
index ba525be0..1ce8fbe6 100755
--- a/tools/route-server/route-server-docker.sh
+++ b/tools/route-server/route-server-docker.sh
@@ -87,11 +87,12 @@ case "$1" in
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 rm -f gobgp
+ sudo docker wait gobgp
+ sudo docker rm gobgp
;;
*)
echo $1
- echo "Usage: root-server-docker {start|stop}"
+ echo "Usage: root-server-docker {start|stop|install}"
exit 2
;;
esac