0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

M1 MACでのDocker環境構築時に『no matching manifest for linux/arm64/v8 in the manifest list entries』

Posted at

エラー内容

M1 mac でdocker環境構築時にエラーが発生。

no matching manifest for linux/arm64/v8 in the manifest list entries

対処方法

docker-compose.ymlplatform: linux/x86_64 を に追加する。

db:
    platform: linux/x86_64 // 追加する
    image: mysql:5.7

エラー原因

M1チップのプラットフォームはarm64であるのに対し、
mysql5.7のイメージのサポートプラットフォームがAMD64でマッチしていないのが原因だそう。

なお、公式ではRosetta2を入れておくことが推奨されているようです。

softwareupdate --install-rosetta

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?