[Docker] The requested image's platform (linux/arm64/v8) does not match the detected host platform 해결
·
Docker
개요 Mac OS에서 빌드한 이미지를 Ubuntu 20.04에서 실행하려고 했더니 발생한 오류 이미지의 플랫폼이 현재 컨테이너로 실행하려는 호스트의 플랫폼과 호환되지 않는다는 것이다.! 해결 이미지로 빌드할 때 아래의 커맨드를 입력하여 주면된다. docker buildx build --platform linux/amd64,linux/arm64 -t {태그명} --push . 위의 명령어로 플랫폼을 지정해주고 바로 푸시해주게된다. 결과 성공! [Docker] WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform..