Pull from private AWS docker registry works successfully on AWS instances after executing “docker login”
Attempting to do some local development using Docker for Windows, but pulling from same AWS registry.
I performed a successful docker login to my AWS registry on Windows as I have done from my AWS instances. However, a “docker pull” command that succeeds on the AWS instances fails on my local installation with the following:
Pulling repository 12345678.dkr.ecr.us-east-1.amazonaws.com/my-repository
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: unauthorized: authentication required.
See ‘C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help’.
Windows 10 x64
Docker logs show no errors or other indicators to the problem
Version 1.12.0-rc3-beta18 (build: 5226)
Steps to reproduce the behavior
- Successful “docker login” to AWS registry
- From local Windows machine with Docker for Windows installed attempt a docker pull of an image in the AWS registry