Docker Community Forums

Share and learn in the Docker community.

Pulling ubuntu from terminal

Hi,

I am having trouble pulling an image off of docker hub.

I am working from a new Mac (Intel chip).

I am trying to pull the ‘ubuntu’ image into my repository of docker images.
I am logged into docker hub. I have docker desktop installed on my machine. When I run the command ‘docker pull ubuntu’ I get back the error message:

‘Error response from daemon: Head “https://registry-1.docker.io/v2/library/ubuntu/manifests/latest”: unauthorized: incorrect username or password’

My guess is that I have to log into the docker hub from my version of docker that is on my desktop? I just don’t know how to do that. Can anyone help me?

Hi

That worked. Now I feel stupid, but thanks!