內容目錄
Error:no matching manifest for linux/arm64/v8 in the manifest list entries
小筆記一下,一直聽說在mac M系列(M1、M2)中使用Docker有可能會遇到晶片架構不合的問題,終於在練習某個範例時遇到了,會跳出如標題的訊息。
no matching manifest for linux/arm64/v8 in the manifest list entries
解決方式就只要在docker-compose.yml中出問題的service加入以下一小行設定就可以囉
platform: linux/amd64
例如
web:
image:node:14
container_name: web
ports:
- "3030:3030"
platform: linux/amd64
![[docker]Error:no matching manifest for linux/arm64/v8 in the manifest list entries](/api/proxy-image?url=https%3A%2F%2Fpost.billxu.net%2Fwp-content%2Fuploads%2F2022%2F07%2FDocker_Temporary_Image_Google_Blue_1080x1080_v1.webp)