일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 스프링부트
- design pattern
- MySQL
- 도커
- 쿠버네티스
- 자바
- AWS
- git
- springboot
- kubernetes
- DataGridView
- docker
- 마이바티스
- machine-learning
- 스프링
- Java
- mybatis
- Kotlin
- react
- Winform
- 리팩토링
- c#
- 파이썬
- Spring Boot
- VOA
- github
- Python
- 코틀린
- 리액트
- Spring
Archives
- Today
- Total
보뇨 다이어리
docker push 할때 no basic auth credentials 에러 해결 본문
반응형
이미지를 dockerHub 를 통해 받아오고 AWS ECR 로 이미지를 추가하고자할때
no basic auth credentials 라는 문구로 AWS 인증관련된 내용이 에러로 나오게 됨.
이미 aws-cli 를 사용하고있는 입장에서는 docker 쪽과 뭔가 설정이 동기화되지않은것같다는 생각을 하게됨.
아니나다를까 도커쪽에서는 ecr-login 을 기본으로 사용하고있지않아서 생긴 이슈인걸로 확인이 됨.
# 파일내에 credsStore 값을 변경
# desktop -> ecr-login
vi ~/.docker/config.json
{
"auths": {
"https://index.docker.io/v1/": {}
},
"credsStore": "ecr-login"
}
출처
Docker push to ECR failing with "no basic auth credentials"
If it not too late, after scratching my head around this issue, the solution was just to copy and paste the output of aws ecr get-login --no-include-email --region ***** which of the form docker *** and some very long alpha-numeric passphrase. It is kind o
forums.docker.com
2. https://github.com/awslabs/amazon-ecr-credential-helper/issues/207
반응형
'컴퓨터 관련 > Docker, Kubernetes 정보' 카테고리의 다른 글
docker buildx 에러 (0) | 2025.01.06 |
---|---|
서비스중 ingress nginx controller 업데이트 처리 (0) | 2023.01.11 |
kubernetes deployment 외부 접근 방법 (0) | 2023.01.11 |
Exiting due to RUNTIME_ENABLE: unknown network plugin 에러 발생시 해결방법 (0) | 2022.12.26 |