Docker Community Forums

Share and learn in the Docker community.

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

dockerhub

(Manish Bhandekar) #1

Hi,

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 docker.io/mbhandek/rhel6.5utf8

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