Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1719 from /issues/1653-make-dir
Browse files Browse the repository at this point in the history
Ensure /var/run/weave directory exists before telling Docker to use it
  • Loading branch information
awh committed Nov 30, 2015
2 parents 068bbe0 + ea5bae7 commit b2b6811
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weave
Original file line number Diff line number Diff line change
Expand Up @@ -1548,6 +1548,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 \
Expand Down

0 comments on commit b2b6811

Please sign in to comment.