From 3322141fc1c7929011eb04ff3f2fb8b679147f82 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 24 Dec 2014 21:26:09 +0900 Subject: tools: fix docker command in route-server-docker.sh Signed-off-by: FUJITA Tomonori --- tools/route-server/route-server-docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/route-server') 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 ;; *) -- cgit v1.2.3