summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-24 21:26:09 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-12-24 21:26:09 +0900
commit3322141fc1c7929011eb04ff3f2fb8b679147f82 (patch)
tree64d0f07cde335b2b72657bea3cab842e06d93d7c /tools
parent185f1e8d5e00009713e4c9b5c67225e86202078a (diff)
tools: fix docker command in route-server-docker.sh
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/route-server/route-server-docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/route-server/route-server-docker.sh b/tools/route-server/route-server-docker.sh
index 8d8d3825..60cbf6d7 100755
--- a/tools/route-server/route-server-docker.sh
+++ b/tools/route-server/route-server-docker.sh
@@ -55,7 +55,7 @@ case "$1" in
run_quagga $i
i=$(( i+1 ))
done
- docker run --privileged=true -v $CONFIG_DIR:/mnt --name $GOBGP_DOCKER_NAME -id osrg/gobgp
+ docker run --privileged=true -v $CONFIG_DIR:/mnt -d --name $GOBGP_DOCKER_NAME -id osrg/gobgp
sudo pipework $BRIDGE_NAME $GOBGP_DOCKER_NAME 10.0.255.1/16
;;
stop)
@@ -86,7 +86,7 @@ case "$1" in
sudo docker pull osrg/quagga
sudo docker pull osrg/gobgp
mkdir /usr/local/gobgp
- sudo docker run --privileged=true --name gobgp -id osrg/gobgp -v /usr/local/gobgp:/mnt go run /root/gobgp/tools/route-server/quagga-rsconfig.go -c /mnt
+ 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
docker rm -f gobgp
;;
*)