Docker (Apple Silicon/M1 Preview) MySQL "no matching manifest for linux/arm64/v8 in the manifest list entries" Docker (Apple Silicon/M1 Preview) MySQL "no matching manifest for linux/arm64/v8 in the manifest list entries" docker docker

Docker (Apple Silicon/M1 Preview) MySQL "no matching manifest for linux/arm64/v8 in the manifest list entries"


Well, technically it will not solve your issue (running MySQL on ARM), but for the time being, you could add platform to your service like:

services:  db:    platform: linux/x86_64    image: mysql:5.7    ...

Alternatively, consider using MariaDB, which should work as a drop-in replacement like e.g. this:

services:  db:    image: mariadb:10.5.8    ...

Both ways work for me on M1 with the Docker Preview


same problem for m1 mac just run this command

docker pull --platform linux/x86_64 mysql


Oracle maintains a MySQL 8.0.23 docker image for arm64.
https://hub.docker.com/r/mysql/mysql-server

To use it in your docker-compose file

version: "3.8"services:  mysql:    container_name: mycontainername    image: mysql/mysql-server:8.0.23    ports:      - "3306:3306"    environment:      MYSQL_ROOT_PASSWORD: root      MYSQL_DATABASE: mydatabasename      MYSQL_ROOT_HOST: "%"    command: --lower_case_table_names=1