$ 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
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?