Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinked /var/run/docker.sock causes problems on CircleCI #71

Open
binocarlos opened this issue Mar 17, 2015 · 0 comments
Open

Symlinked /var/run/docker.sock causes problems on CircleCI #71

binocarlos opened this issue Mar 17, 2015 · 0 comments

Comments

@binocarlos
Copy link
Contributor

There have been reports of problems running powerstrip on CircleCI because /var/run is symlinked to /run and so when we try to mount the docker sockets using a volume - it fails because volumes don't like symlinks.

The solution is to mount /run/docker.sock rather than /var/run/docker.sock - perhaps a note about this is needed in the README.

Example docker run with symlink accounted for:

sudo docker run -d --name powerstrip \
  -v /run/docker.sock:/var/run/docker.sock \
  etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant