I hope you have logged in with the IAM user with the AdministratorAccess policy using the `aws configure` command. One quick workaround is to modify `.docker\config.json` file. Remove the following line "credsStore" key so that the docker will use the file system to store tokens: "credsStore": "wincred" Now run your AWS CLI command: aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/..... And you should get the output like this: WARNING! Your password will be stored unencrypted in C:\Users\user\.docker\config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded Also, I found that removing `C:\Program Files\Docker\Docker\resources\bin\docker-credential-desktop.exe` and `C:\Program Files\Docker\Docker\resources\bin\docker-credential-wincred.exe` might work.