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

--privileged needed #17

Closed
jhgoebbert opened this issue Feb 25, 2016 · 2 comments
Closed

--privileged needed #17

jhgoebbert opened this issue Feb 25, 2016 · 2 comments

Comments

@jhgoebbert
Copy link

I have to use --privileged to make dockviz run
docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock nate/dockviz containers
You might want to add that information to your documentation.

If I do not use --privileged I get the error:
Unable to access Docker socket, please run like this:
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock nate/dockviz containers
For more help, run 'dockviz help'

even though my user is part of the 'docker' group and /var/run/docker.sock is readable/writeable for docker group:
srw-rw----. 1 root docker 0 Feb 25 13:11 /var/run/docker.sock

The problem might be related to SELinux.

P.S: thanks for dockviz ... it is a great tool !!!!

@justone
Copy link
Owner

justone commented Feb 29, 2016

Thanks for the report. I am planning on adding some text to the help output.

And, as was mentioned in #12, this repo is an alternative fix to using the --privileged flag.

@justone
Copy link
Owner

justone commented Jun 14, 2016

This is a part of the latest release, v0.4.2.

Thanks.

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

2 participants