Docker Community Forums

Share and learn in the Docker community.

Push problem - MAC OS X


(Mrales) #1

Hi there,

I can’t figure out this problem:

$ docker login -u=myusername -e=myemail
Password: mypass
WARNING: login credentials saved in /Users/User/.docker/config.json
Login Succeeded
$ docker push repositoryname/docker-whale
The push refers to a repository [docker.io/repositoryname/docker-whale] (len: 1)
425218d57cff: Preparing 
unauthorized: access to the requested resource is not authorized

Can anyone help me? It is an example from docker.com.

MAC OS X El Capitan v 10.11.1
Docker version 1.9.1, build a34a1d5

Thanks


(Mrales) #2

Problem solved. My mistake.


(Jeff Anderson) #3

For completeness, do you mind sharing what your mistake was? I’m guessing that your user, myusername, simply didn’t have access to the repositoryname namespace. I’m also guessing those two values are placeholders?


(Mrales) #4

The only issue was that myusername didn’t correspond to repositoryname, silly mistake.


(Ralph Kincade) #5

LOL , do not feel bad I have made that mistake a FEW times!!!