How to pull from docker hub - pull access denied repository does not exist or may require 'docker login'

5.8k Views Asked by At

I have pulled images from Docker before - some time ago - but now it seems things have changed.

Take for example https://hub.docker.com/r/datagrip. Documentation states installation as follows

docker pull sath89/oracle-xe-11g

This no longer works with current Docker hub. I can try latest

[myuser:~] $ docker pull sath89/oracle-xe-11g
Using default tag: latest
Error response from daemon: pull access denied for sath89/oracle-xe-11g, repository does not exist or may require 'docker login'

Or tag 11.2

[myuser:~] 1 $ docker pull sath89/oracle-xe-11g:11.2
Error response from daemon: pull access denied for sath89/oracle-xe-11g, repository does not exist or may require 'docker login'

Of course I can try login - login succeeds but pulling images is still not working.

[myuser:~] 1 $ docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: mydockerhubuser
Password: 
WARNING! Your password will be stored unencrypted in /home/myuser/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
[myuser:~] $ docker pull sath89/oracle-xe-11g:11.2
Error response from daemon: pull access denied for sath89/oracle-xe-11g, repository does not exist or may require 'docker login'
[myuser:~] 1 $ 

What is the secret nowadays for pulling images from Docker hub? It used to be so easy. Too easy clearly.

0

There are 0 best solutions below