Docker Community Forums

Share and learn in the Docker community.

Docker push - denied: requested access to the resource is denied

I’m testing the Docker EE. I have just a couple of servers. One, lets call it dockermaster and the second dockernode.
I have installed UCP and configure the DTR on the docker node.
I’m trying to test docker push, but I believe I’m making a mistake creating the tag.

Based on the busybox I created a few tags to test the push.

[root@dockermaster docker]# docker images
REPOSITORY                                      TAG                 IMAGE ID            CREATED             SIZE
calico/node                                     latest              c90e4b49722e        4 days ago          72.7MB
h2020/test/busybox                              latest              d8233ab899d4        12 days ago         1.2MB
busybox                                         latest              d8233ab899d4        12 days ago         1.2MB
dockerslave/busybox                     	latest              d8233ab899d4        12 days ago         1.2MB
dockerslave/h2020/test/busybox          	latest              d8233ab899d4        12 days ago         1.2MB
dockerslave/test/busybox                	latest              d8233ab899d4        12 days ago         1.2MB
nginx                                           latest              f09fe80eb0e7        2 weeks ago         109MB

Then I tried to push it using docker push and this is the result:

[root@dockermaster .docker]# docker push dockerslave/test/busybox
The push refers to repository [dockerslave/test/busybox]
adab5d09ba79: Preparing
denied: requested access to the resource is denied
[root@dockermaster .docker]# docker push dockerslave/h2020/test/busybox
The push refers to repository [dockerslave/h2020/test/busybox]
adab5d09ba79: Preparing
denied: requested access to the resource is denied
[root@dockermaster .docker]# coker push dockerslave/busybox
-bash: coker: command not found
[root@dockermaster .docker]# docker push dockerslave/busybox
The push refers to repository [dockerslave/busybox]
adab5d09ba79: Preparing
denied: requested access to the resource is denied
[root@dockermaster .docker]# docker push h2020/test/busybox
The push refers to repository [docker.io/h2020/test/busybox]
adab5d09ba79: Preparing
denied: requested access to the resource is denied

I understand I’m doing something wrong, but I can’t find the issue.
Any help will be appreciate.

Can you check on the DTR for the repo and if not there please create it and try to push it once again .

I created the repo on the DTR before trying to push.
image

Follow this -

docker login yourdtr.whatever.com
it will ask your credentials , provide that then tag the image and push .