diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-25 07:15:41 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-12-25 07:15:41 +0900 |
commit | 03640f3f1d9b9f1b3b3d2d0dce07eaa4f4da8096 (patch) | |
tree | cf2943152298cb3bbad890cba75f396803899404 /tools/route-server | |
parent | f5bb9841549a023662bfcf7f85d634ca0012b48d (diff) |
tools: use docker --rm option
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/route-server')
-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 |