Using Docker Without Sudo
1 minute read
i have this error:
FATA[0000] Get http:///var/run/docker.sock/v1.17/info: dial unix /var/run/docker.sock: permission denied. Are you trying to connect to a TLS-enabled daemon without TLS?
it’s occur because my user is not in docker group, to fix:
$ sudo usermod -a -G docker $USERNAME
$ newgrp docker
the last command login in the docker group in current shell
I feedback.
Let me know what you think of this article on twitter @roudi or leave a comment below!
Let me know what you think of this article on twitter @roudi or leave a comment below!
comments powered by Disqus