맥에서 centos 이미지를 다운받아 실행하면 arm용 centos를 실행해야 한다

하지만 amd64으로 빌드된 centos 이미지를 실행하려면 아래와 같은 옵션을 주면 된다.

 

$ docker pull --platform=linux/amd64 centos:centos7

 

이미지를 실행시키면 WARNING이 나오지만 정상적으로 잘 동작한다

 

+ Recent posts