check if you are already logged in to docker hub
in file ~/.docker/config
{
"auths": {
"https://index.docker.io/v1/": {}
},
...
if yes then logout via
$docker logout
Removing login credentials for https://index.docker.io/v1/
AWS ECR Public Gallery anyone can pull images.
Just a side note the image you are trying to pull will not have sam cli
installed. No official image yet published on gallery.ecr.aws
with sam cli
yet.
You have to bake your own image with sam cli
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…