https://m.blog.naver.com/jogilsang/221370362752
처음 ec2 생성을 하면 기본 8기가로 생성이 된다.
/dev/root 에 용량이 다 찼을 때 위 처럼 따라하면 16기가 등으로 볼륨을 확장시킬 수 있다.
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
방법1.
로컬에서 build 시 --platform linux/amd64 명령어를 붙여줘야함
방법2.
docker-compose.yml에서 platform: linux/amd64 를 넣어줘야함
ERROR: yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
yaml 파일은 tap이 아닌 스페이스바로 인덴트를 설정한다.
tap 지우고 스페이스바로 띄어쓰기를 해줌
aws ecr get-login --no-include-email --region ap-northeast-2 해도
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: argument operation: Invalid choice, valid choices are:
처럼 뜬다.
sudo aws ecr get-login --no-include-email --region ap-northeast-2
sudo를 붙여주고 macbook 비밀번호를 넣어주면 된다.
만약 Sorry, try again.가 뜬다면, 비밀번호를 한국어로 치고 있을 가능성도 있으니 영어로 바꿔서 쳐보자.
# Uninstall existing previous version of botocore and boto3
$ pip3 install awscli --upgrade --user
# And Install again
$ pip3 uninstall botocore
$ pip3 uninstall boto3
# reinstall
$ pip3 install botocore
$ pip3 install boto3