From c75b0f1cf0445b744b6f8177eed70186186ab6c4 Mon Sep 17 00:00:00 2001 From: Julien Kassar Date: Wed, 14 Mar 2018 22:35:52 -0400 Subject: [PATCH] Remove the escaping slashes --- docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker.sh b/docker.sh index c0a5af9..463c443 100644 --- a/docker.sh +++ b/docker.sh @@ -62,7 +62,7 @@ if [ `echo ${containers} | wc -c` -gt "1" ]; then DOCKER_NET_INT=${DOCKER_INT} ipaddr=`docker inspect -f "{{.NetworkSettings.IPAddress}}" ${container}` else - DOCKER_NET_INT="br-$(docker inspect -f \"{{.NetworkSettings.Networks.${netmode}.NetworkID}}\" ${container} | cut -c -12)" + DOCKER_NET_INT="br-$(docker inspect -f "{{.NetworkSettings.Networks.${netmode}.NetworkID}}" ${container} | cut -c -12)" ipaddr=`docker inspect -f "{{.NetworkSettings.Networks.${netmode}.IPAddress}}" ${container}` add_to_docker_isolation ${DOCKER_NET_INT} ${DOCKER_INT}