--privileged needed
jhgoebbert opened this issue · 2 comments
jhgoebbert commented
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 commented