Though I could log in and push an image to ACR repository, I failed to pull the same image. $ sudo docker push example.azurecr.io/nginx:latest The push refers to a repository example.azurecr.io/nginx af5bd3938f60: Pushed 98: Pushed eb78099fbf7f: Pushed latest: digest: sha256:788fa27763db6d69ad3444e8ba72f947df9e7e163bad7c1f5614f8fd27a311c3 size: 948 $ sudo docker pull example.azurecr.io/nginx:latest Trying to pull repository example.azurecr.io/nginx.
C: Users Administrator>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 to create one. Username: sibeeshvenu Password: Login Succeeded. C: Users Administrator>docker pull microsoft/mssql-server-windows:2017-latest. Please login prior to pull: Login. Oct 19, 2017 docker pull was failed due to 'unauthorized: authentication required' #484. Closed sho-suzuki opened this Issue Oct 19, 2017 5 comments Closed docker pull was failed due to 'unauthorized: authentication required' #484. Sho-suzuki opened this Issue Oct 19, 2017 5 comments Comments. Assignees No one assigned.
Unauthorized: authentication required I wonder my docker version is 1.12, which is the stable latest version at Fedora 25. $ sudo docker version Client: Version: 1.12.6 API version: 1.24 Package version: docker-common-1.12.6-7.gitae7d637.fc25.x8664 Go version: go1.7.6 Git commit: ae7d637/1.12.6 Built: Tue Jul 18 16: OS/Arch: linux/amd64 Server: Version: 1.12.6 API version: 1.24 Package version: docker-common-1.12.6-7.gitae7d637.fc25.x8664 Go version: go1.7.6 Git commit: ae7d637/1.12.6 Built: Tue Jul 18 16: OS/Arch: linux/amd64 Is there any limitation of docker version? I found docker 17.06.0-ce on RHEL 7.3 can pull an image from the same registry. Could you add the version requirement in the document? I have been using some older version 1.11.2 and 1.12.1 on Ubuntu and they worked fine. The error means that for docker push it picked up the correctly cached user:pwd pair for the registry example.azurecr.io from the config.json file, but for docker pull it didn't find matching cache entry for the same registry. It is strange and it should not be specific to Acr.
![Docker Pull Authentication Required Docker Pull Authentication Required](/uploads/1/2/5/6/125659562/285131885.png)
I don't have Fedora so not sure. Are you sure you are using the exactly same registry (example.azurecr.io)? Can you pull/push from docker hub or other registry?
Issue Unable to push images to my Docker Hub repositories using Docker for Mac. Login looks successful, but pushing images fails.