인텔 맥에서는 동작을 잘하던 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

원하는 영역 드래그로 지정 ( 또는 전체 지정: ⌘(command) + a) 

상태에서 ⌘(command) + k + f

 

문서 전체 자동 정렬

(shift) + option(⌥) + f 

 

단 이는 해당 문서의 확장자가 확정 지어 있어( 파일이 생성되어)야 하며 해당 확장자의 정렬 확장파일이 설치되어있어야함(자동으로 다운받는 경우가 많음)

 

 

밑은 공식 홈페이지에서 제공중인 핫키 테이블의 캡쳐 사진입니다.

 

 

(2020년 9월 1일자 스크린샷)

링크: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

 

+ Recent posts