summaryrefslogtreecommitdiffhomepage
path: root/tools/route-server/route-server-docker.sh
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-25 07:15:41 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-25 07:15:41 +0900
commit03640f3f1d9b9f1b3b3d2d0dce07eaa4f4da8096 (patch)
treecf2943152298cb3bbad890cba75f396803899404 /tools/route-server/route-server-docker.sh
parentf5bb9841549a023662bfcf7f85d634ca0012b48d (diff)
tools: use docker --rm option
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/route-server/route-server-docker.sh')
-rwxr-xr-xtools/route-server/route-server-docker.sh4
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