Mac m1版本docker安装mysql报错

Mac m1版本docker安装mysql报错 no matching manifest for linux/arm64/v8 in the manifest list entries

> docker pull mysql
Using default tag: latest
latest: Pulling from library/mysql
no matching manifest for linux/arm64/v8 in the manifest list entries

这是因为M1芯片是arm64架构,而Docker Hub上没有适用于arm64架构的mysql镜像。

MySQL官方提供了适配arm64架构的mysql镜像mysql/mysql-server,所以改用下面这条命令拉取mysql镜像即可

docker pull mysql/mysql-server

你可能感兴趣的:(docker,docker,mysql,m1,apple-m1)