WARNING! Using --password via the CLI is insecure. Use --password-stdin.
2023. 9. 19. 11:40ㆍLinux/docker
728x90
SMALL
- 개요
docker login 할때 아래와 같은 warning 발생
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
- 발생
docker login --username AWS -p $(aws ecr get-login-password --region ap-northeast-2) <account>.dkr.ecr.ap-northeast-2.amazonaws.com/
- 해결
aws ecr get-login-password --region ap-northeast-2 | docker login --username AWS --password-stdin "$(aws sts get-caller-identity --query Account --output text).dkr.ecr.ap-northeast-2.amazonaws.com"
728x90
LIST
'Linux > docker' 카테고리의 다른 글
Error response from daemon: readlink /var/lib/docker/overlay2/l: invalid argument (0) | 2023.12.29 |
---|---|
DEPRECATED: The legacy builder is deprecated and will be removed in a future release. (0) | 2023.09.19 |
Sending build context to Docker daemon 오래 걸릴 경우 (0) | 2023.06.30 |
docker cache 삭제 (1) | 2023.01.17 |
Install GPU nvidia-docker2 on CentOS 8 (0) | 2023.01.05 |