Running Docker Without Sudo on Linux
After installing Docker on Linux, you may get a permission denied message as shown below when you try to run your first docker command:
docker: Got permission denied while trying to connect to the Docker
daemon socket at unix:///var/run/docker.sock: Post
http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create: dial unix
/var/run/docker.sock: connect: permission denied.
See 'docker run
--help'.
You can solve this problem by running Docker with root privileges (using sudo). However, by following these simple steps given below, you can run docker without root privileges.
Subscribe to:
Posts (Atom)