Confusion about failure of pulling images from docker registry

8/28/2019

I have two images tar-ed. Now, I docker load -i each of them into the registry, so it looks like something bellow, mongo and cloud_docker_app.

enter image description here

With help of yaml, it's easy to run mongo correctly--thus I think I can say that I am corretly docker login-ing since the mongo image can be pulled successfully as files show.

enter image description here

enter image description here

But, I cannot pull cloud_docker_app at all. This confuses me much especially when I am login-ing and the image (cloud_docker_app) exists. enter image description here

enter image description here

I have tried https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ or delete ~/.docker/config.json and re-login, but it doesn't help at all. Any ideas are welcome and appreciated.

-- Yu Fang
containers
docker
kubernetes

1 Answer

8/29/2019

After referring to denied: requested access to the resource is denied : docker and change the image path in yaml to be $(docker hub account)/$(folders if any)/$IMAGE, the image is found.

Thanks a lot for David Maze's help and information.

-- Yu Fang
Source: StackOverflow