💡 Docker Compose Error
Compose를 up 시키고 컨테이너 중 1개가 pending 상태에 걸림
위 과정을 3~4번 반복을 해도 안되자 aws 인스턴스 재부팅, 각각의 컨테이너를 개별 실행 해보기로 함
헤메던 도중 검색해보니 Stackoverflow 글중에 컨테이너 실행 & 빌드 시 플랫폼 호환성 문제였다
https://stackoverflow.com/questions/72388698/docker-is-giving-me-an-error-when-running-it
Docker is giving me an error when running it
I'm using windows and installed docker recently. I've just run command docker run busybox and it gives WARNING: The requested image's platform (linux/amd64) does not match the detected host platfo...
stackoverflow.com
도중에 눈에 띈 에러가 있었음
wanted가 시스템에서 원하는 플랫폼인줄알고 계속 amd로 했었다가
플랫폼 변경을 arm64으로 해보기로 했다
linux/arm64/v8 로 하니까 바로 성공
ㅋㅋ 컨테이너 플랫폼 호환성은 해결되었지만 이번엔 다른 에러 발생!!
또 다른 에러는 포스팅 예정