docker-mysql-master-slave
docker-mysql-master-slave copied to clipboard
mysql5.7 Apple Silicon Support
branch: mysql5.7 fails to start on Apple silicon as the image doesn't support arm architecture.
[+] Running 0/2
⠇ mysql_slave Pulling 4.8s
⠿ mysql_master Error 4.8s
no matching manifest for linux/arm64/v8 in the manifest list entries
The following platform: linux/x86_64
has to be added for both master and slave in order to pull the correct image for Apple silicon
services:
mysql_master:
image: mysql:5.7
platform: linux/x86_64
reference: https://stackoverflow.com/questions/65456814/docker-apple-silicon-m1-preview-mysql-no-matching-manifest-for-linux-arm64-v8