Ensure /var/run/weave directory exists before telling Docker to use it

This commit is contained in:
Bryan Boreham committed 2015-11-25 13:56:09 +00:00
1 parent 44a2c5fdff
commit ea5bae711b
1 file changed
+1
+1
View File
@@ -1534,6 +1534,7 @@ launch_proxy() {
# when launching the weaveproxy container.
docker_client_args $DOCKER_CLIENT_ARGS
proxy_args "$@"
mkdir -p /var/run/weave
PROXY_CONTAINER=$(docker run --privileged -d --name=$PROXY_CONTAINER_NAME --net=host \
$PROXY_VOLUMES \
-v /var/run/docker.sock:/var/run/docker.sock \