Closed danwelcome closed 7 years ago
Check out this issue https://github.com/docker/for-mac/issues/1439
Check out this issue docker/for-mac#1439
I think this will help. I'm running into a similar issue, but with both aws and artifactory as my registries. I can't get a push to happen to either of them and get the following error:
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.13:build (build-image) on project com.company.example.app: Exception caught: unauthorized: The client does not have permission to push to the repository. -> [Help 1]
Seems like that issue has a PR request that's being reviewed right now so hopefully this'll make it in soon.
Not sure that PR is going to help; the creds are now, by default, in the osx keychain. I think spotify/docker-client#657 is going to need to be resolved before this plugin will work.
same issue as #328
Description
Since the release of the latest version of Docker for macOS, I can't push to my private repo in AWS ECR. It looks like the way the credentials are stored in the ~/.docker/config.json has changed.
How to reproduce
Via AWS, use the following command to get the command Docker uses to log into the private repo:
aws ecr get-login
This will store the authorization information in ~/.docker/config.json. Run a maven build with:mvn clean package docker:build -DpushImage
Software:
Full backtrace
Old ~/.docker/config.json
New ~/.docker/config.json
Maven Plugin definition:
Error message:
[ERROR] Failed to execute goal com.spotify:docker-maven-plugin:0.4.13:build (default-cli) on project seed-service: Exception caught: no basic auth credentials -> [Help 1]