Skip to content

Instantly share code, notes, and snippets.

@chrisxaustin
Created February 23, 2019 19:43
Show Gist options
  • Save chrisxaustin/d30df3527f35f02c3f27d42e90f5f27f to your computer and use it in GitHub Desktop.
Save chrisxaustin/d30df3527f35f02c3f27d42e90f5f27f to your computer and use it in GitHub Desktop.
Troubleshooting Maven ECR access with Docker Toolbox on Windows 10
Remove the credsStore line from ~/.docker/config.json
This worked fine for me with Docker Desktop, but stopped working with Docker Toolbox
~/.m2/settings.xml
Update with the token from `aws ecr get-login --no-include-email`
Ugly solution but it works.
If that doesn't work, try restarting docker toolbox:
docker-machine stop
docker-machine start
docker-machine-env | Invoke-Expression
Invoke-Expression -Command (Get-ECRLoginCommand -Region us-east-2).Command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment