Created
February 23, 2019 19:43
-
-
Save chrisxaustin/d30df3527f35f02c3f27d42e90f5f27f to your computer and use it in GitHub Desktop.
Troubleshooting Maven ECR access with Docker Toolbox on Windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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