I have all AWS CLI and docker setup and running for a while. I changed the command codes to all run from a bash file. However, when running the docker push
I get this error Error saving credentials: error storing credentials - err: exit status 1, out: `not implemented
I tried AWS_DEFAULT_PROFILE="aaa" docker push ...
and docker push --profile=aaa
nut none of them either worked. I do not see any similar issue like 'not implemented' on Google!
Any help is appreciated!
Here is the solution I found, thanks to docker login: error storing credentials `The stub received bad data.`
The .docker/config.json looks like this:
{
"auths" : {
},
"stackOrchestrator" : "swarm",
"HttpHeaders" : {
"User-Agent" : "Docker-Client/19.03.8 (darwin)"
},
"credsStore" : "ecr-login"
}
by removing "credsStore" : "ecr-login"
it worked!
if you are using docker on the mac
I was facing the same issue and it was resolved by
sudo chown -R $(id -u):$(id -g) $HOME/.docker
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With