[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"blog-dockererrorno-matching-manifest-for-linux-arm64-v8-in-the-manifest-list-entries":3},{"id":4,"slug":5,"title":6,"description":7,"content":8,"date":9,"image":10,"imageAlt":6,"author":11,"categories":14,"path":18,"minRead":19},142,"dockererrorno-matching-manifest-for-linux-arm64-v8-in-the-manifest-list-entries","[docker]Error:no matching manifest for linux\u002Farm64\u002Fv8 in the manifest list entries","Error:no matching manifest for linux\u002Farm64\u002Fv8 in the ma […]","\u003Ch1>Error:no matching manifest for linux\u002Farm64\u002Fv8 in the manifest list entries\u003C\u002Fh1>\n\u003Cp>小筆記一下，一直聽說在mac Ｍ系列(M1、M2)中使用Docker有可能會遇到晶片架構不合的問題，終於在練習某個範例時遇到了，會跳出如標題的訊息。\u003C\u002Fp>\n\u003Cpre>\u003Ccode>no matching manifest for linux\u002Farm64\u002Fv8 in the manifest list entries\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>解決方式就只要在docker-compose.yml中出問題的service加入以下一小行設定就可以囉\u003C\u002Fp>\n\u003Cpre>\u003Ccode class=\"language-yml\">platform: linux\u002Famd64\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>例如\u003C\u002Fp>\n\u003Cpre>\u003Ccode>web:\n  image:node:14\n  container_name: web\n  ports:\n  - \"3030:3030\"\n  platform: linux\u002Famd64\n\u003C\u002Fcode>\u003C\u002Fpre>\n","2022-10-11T20:00:59","\u002Fapi\u002Fproxy-image?url=https%3A%2F%2Fpost.billxu.net%2Fwp-content%2Fuploads%2F2022%2F07%2FDocker_Temporary_Image_Google_Blue_1080x1080_v1.webp",{"name":12,"link":13},"Chih Fan","http:\u002F\u002Fpost.billxu.net",[15],{"name":16,"slug":17},"Devops","devops","\u002Fblog\u002Fdockererrorno-matching-manifest-for-linux-arm64-v8-in-the-manifest-list-entries",1]