Docker Pull Permission Denied Issue-Can't Download Docker Container

Hi johnnymystic19,
I think you may get the same error when you run below command
$ docker run helloworld

Please run below to fix your issue.

  1. Firstly, check whether there is a user group for docker.
    $ sudo cat /etc/group | grep docker

  2. If not, then create the docker group.
    $ sudo groupadd docker

  3. Add your user to the docker group.
    $ sudo usermod -aG docker $USER

  4. double check
    $ sudo cat /etc/group |grep docker

  5. Restart docker
    $ sudo systemctl restart docker

  6. check below commands again.
    $ docker run helloworld

    $ docker login nvcr.io

Reference: Post-installation steps for Linux | Docker Documentation

1 Like