Dev./Docker
[Docker] m1 macbook no matching manifest for linux/arm64/v8 문제
인쥭
2021. 8. 5. 17:02
반응형
[~] docker pull microsoft/dotnet:2.1-sdk
2.1-sdk: Pulling from microsoft/dotnet
no matching manifest for linux/arm64/v8 in the manifest list entries
[~]
- docker pull을 했을 때 위와같이 뜨는 경우, --platform을 아래와 같이 명시해주자.
[~] docker pull --platform linux/x86_64 microsoft/dotnet:2.1-sdk
2.1-sdk: Pulling from microsoft/dotnet
08224db8ce18: Pull complete
abd3caf86f5b: Pull complete
71c316554a55: Pull complete
721081de66bf: Pull complete
307bb7c9d0b4: Pull complete
355c99026e4f: Downloading [====================> ] 71.51MB/171.3MB
2fd6363a12b4: Downloading [========> ] 51.61MB/303.4MB
- docker-compose.yml의 경우 image나 port, volume과 같은 단계에 platform: linux/x86_64 를 추가해주면 된다.