728x90
애플 맥북 실리콘 M1에서 도커 컨테이너 실행 시 오류
The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
도커 컨테이너 실행
docker run -it --rm --name centos7 anti1346/centos:7 bash
> docker run -it --rm --name centos7 anti1346/centos:7 bash
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@8d36d7760214:/$
플랫폼 지정 후 도커 컨테이너 실행
--platform linux/amd64 추가
docker run -it --rm --platform linux/amd64 --name centos7 anti1346/centos:7 bash
> docker run -it --rm --platform linux/amd64 --name centos7 anti1346/centos:7 bash
root@68e6807fbc7c:/$
728x90
'기타' 카테고리의 다른 글
[Mac] vscode 단축키(keyboard shortcuts) (0) | 2022.07.20 |
---|---|
SRE(사이트 신뢰성 엔지니어링)란? (0) | 2022.07.18 |
[기타] Mac DNS 캐시 플러시 (0) | 2022.07.04 |
[기타] 노션(Notion) 학교 계정으로 개인 프로(교육) 요금제(무료) 사용하기 (0) | 2022.06.23 |
[Mac] no matching manifest for linux/arm64/v8 in the manifest list entries 에러 (0) | 2022.05.13 |