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.
|
# when launching the weaveproxy container.
|
||||||
docker_client_args $DOCKER_CLIENT_ARGS
|
docker_client_args $DOCKER_CLIENT_ARGS
|
||||||
proxy_args "$@"
|
proxy_args "$@"
|
||||||
|
mkdir -p /var/run/weave
|
||||||
PROXY_CONTAINER=$(docker run --privileged -d --name=$PROXY_CONTAINER_NAME --net=host \
|
PROXY_CONTAINER=$(docker run --privileged -d --name=$PROXY_CONTAINER_NAME --net=host \
|
||||||
$PROXY_VOLUMES \
|
$PROXY_VOLUMES \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
|||||||
Reference in new issue
Block a user