docker pull sundowndev/phoneinfoga:latest
That's what I tried in Terminal. I got error
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
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/images/create?fromImage=sundowndev%2Fphoneinfoga&tag=latest: dial unix /var/run/docker.sock: connect: permission denied
I am new to docker. So, I don't know what's happening After searching little I found this and this. But, I didn't understand anything.
In this link, I was unable to understand sudo usermod -aG docker ssirohi
. I didn't understand that. that's why I tried sudo usermod -aG docker Istiakshovon
I got the error usermod: group 'docker' does not exist
. Should I install docker group? How to do that? I have docker... I tried it also.
After trying as he said, I reboot later since then docker is working...
$ sudo groupadd docker
$ sudo usermod -aG docker $USER
$ newgrp docker
$ docker run hello-world
$ sudo reboot now
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments