" />
本ページはプロモーションが含まれています。

スポンサーリンク

Docker

M1mac-dockerでno matching manifest for linux/arm64/v8 in the manifest list entries

no matching manifest for linux/arm64/v8 in the manifest list entriesの発生理由

noricgeographic@MacBook-Air ~ % docker pull mysql:8.0.28
8.0.28: Pulling from library/mysql
no matching manifest for linux/arm64/v8 in the manifest list entries

「あなたの使っているマシンはlinux/arm64/v8というアーキテクチャです。
pullしようとしているmysql:8.0.28はそれに対応していません。」
と怒られています。

no matching manifest for linux/arm64/v8 in the manifest list entriesの解決法

pullしようとしているイメージをdocker hubで探します。

このようにOS/ARCHにイメージが対応しているアーキテクチャが記載されています。

それを--platformオプションで指定して、docker pullします。

noricgeographic@MacBook-Air ~ % docker pull --platform linux/amd64 mysql:8.0.28
8.0.28: Pulling from library/mysql
6552179c3509: Pull complete 
d69aa66e4482: Pull complete 
3b19465b002b: Pull complete 
7b0d0cfe99a1: Pull complete 
9ccd5a5c8987: Pull complete 
2dab00d7d232: Pull complete 
64d3afdccd4a: Pull complete 
82148d50b16c: Pull complete 
8bb7d73a7d0c: Pull complete 
74778cd68a75: Pull complete 
d7e5f9309140: Pull complete 
f2e376ecd59f: Pull complete 
Digest: sha256:92d27b8222bbcf53bc42c70ca7cd1010d6c0527efc61f14980ce77c50932bef4
Status: Downloaded newer image for mysql:8.0.28
docker.io/library/mysql:8.0.28

無事、pullできました。

スポンサーリンク

-Docker