Run mysql image on M1 MAC (Apple Silicon)

docker-compose.yml Set the platform as follows

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

I was wondering why it works, but https://www.publickey1.jp/blog/20/apple_m1docker_desktopcpux86docker.html according to, "Docker Desktop for Mac" supports multi-CPU architecture, and with the above specifications, It seems that it will emulate the image for linux/x86_64 and operate it. May be slow to emulate

Recommended Posts

Run mysql image on M1 MAC (Apple Silicon)
Run STS4 on Mac
Steps to run docker on Mac
Use Docker on your M1 Mac
Customize OpenFOAM v8 Docker Image on Mac
Run Ubuntu + ROS with Docker on Mac
Run Edge (Chromium version) on Mac with Selenium
Install Ruby / Rails on Mac M1 Big Sur 2021-01
Ruby on Rails development environment construction on M1 Mac
I struggled with pip install on an M1 Mac