diff --git a/weaver/weave b/weaver/weave index 4555ca88..fe83ad52 100755 --- a/weaver/weave +++ b/weaver/weave @@ -102,6 +102,7 @@ stop_masquerading() { run_iptables -t nat -X WEAVE >/dev/null 2>&1 || true } +# the following borrows from https://github.com/jpetazzo/pipework with_container_netns () { CONTAINER="$2" CONTAINER_PID=$(docker inspect --format='{{ .State.Pid }}' $CONTAINER)