Ensure /var/run/weave directory exists before telling Docker to use it
This commit is contained in:
1 parent
44a2c5fdff
commit
ea5bae711b
1 file changed
+1
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user