Closed strongSoda closed 3 years ago
Can you run the following command without using sudo?
$ docker run hello-world
No.
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.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
https://docs.docker.com/engine/install/linux-postinstall/ This should help fix the problem. You need to be able to use docker as a non-root user.
Yeah, I configured docker to be usable as a non-root user and it worked. Thanks.
I ran the code
The errors
I have docker installed