인텔 맥에서는 동작을 잘하던 docker 세팅파일이 에러를 내뱉는다

m1에서는 바로 안되나보다

검색을 통하니 m1에서는

db 관련 항목에서 

platform: linux/x86_64 를 넣으라고한다.

또는 터미널에 작업시 명령어 뒤에 "--platform linux/x86_64 mysql" 를 넣으라고한다

ex) docker pull --platform linux/x86_64 mysql

 

stackoverfolow ->

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

 

https://stackoverflow.com/questions/65456814/docker-apple-silicon-m1-preview-mysql-no-matching-manifest-for-linux-arm64-v8

+ Recent posts