Docker Community Forums

Share and learn in the Docker community.

RHEL 7 docker host - push to private repo on docker hub


(Manish Bhandekar) #1


I have docker images built on RHEL7 docker host. I want to push it to private repository on docker hub.

When I run docker login, it successfully logs in.
When I run docker push, it fails.

[root@host ~]# sudo docker push

Do you really want to push to public registry? [y/n]: y
The push refers to a repository [] (len: 1)
cd685423f077: Preparing
unauthorized: access to the requested resource is not authorized
[root@host ~]#