devops

ECR 레포지토리, Docker 인증시 status code not OK but 401: {"detail":"Incorrect authentication credentials"} 오류 본문

DevOps/AWS

ECR 레포지토리, Docker 인증시 status code not OK but 401: {"detail":"Incorrect authentication credentials"} 오류

vata500 2022. 6. 12. 22:50
반응형

ECR 레포지토리에서 Docker 토큰 인증할때, 아래와 같은 오류가 발생한다.

Error saving credentials: error storing credentials - err: exit status 1, out: `status code not OK but 401: {"detail":"Incorrect authentication credentials"}`

docker의 설정 json 파일을 삭제하고 다시 입력하면 된다.

cd ~/.docker
rm config.json

 

출처 
https://stackoverflow.com/questions/64455468/error-when-logging-into-ecr-with-docker-login-error-saving-credentials-not

 

반응형
Comments