Failed to install laradock mysql in M1 pro Apple Silicon

Lim Sing
Feb 28, 2022

I get following error when try to docker compose build mysql for laradock:

=> ERROR [laradock_mysql internal] load metadata for docker.io/library/mysql:latest

The command i ran:

docker-compose up -d nginx mysql phpmyadmin redis workspace

My solution is platform in your docker compose file (technically not resolve running MySQL on ARM):

mysql:platform: linux/amd64

--

--