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.
-
Firstly, check whether there is a user group for docker.
$ sudo cat /etc/group | grep docker -
If not, then create the docker group.
$ sudo groupadd docker -
Add your user to the docker group.
$ sudo usermod -aG docker $USER -
double check
$ sudo cat /etc/group |grep docker -
Restart docker
$ sudo systemctl restart docker -
check below commands again.
$ docker run helloworld$ docker login nvcr.io
Reference: Post-installation steps for Linux | Docker Documentation