IT/Docker & Kubernetes
docker: no matching manifest for linux/arm64/v8 in the manifest list entries.
데모버전
2021. 7. 22. 18:11
반응형
환경 : MacBook Air (M1, 2020)
mysql 설치를 위해 아래와 같은 명령어를 입력하면
docker run -d --name mysql \
-e MYSQL_ROOT_PASSWORD=123 \
mysql
이런 에러가 발생한다.
docker: no matching manifest for linux/arm64/v8 in the manifest list entries
그럴 때는 --platform 옵션을 사용해 linux/amd64 라고 명시해 주면 된다.
docker run -d --name mysql \
-e MYSQL_ROOT_PASSWORD=123 \
--platform linux/amd64 \
mysql
참고
https://docs.docker.com/engine/reference/commandline/run/
docker run
docker run: The `docker run` command first `creates` a writeable container layer over the specified image, and then `starts` it using the specified command. That is, `docker run` is equivalent...
docs.docker.com
Apple M1 Chip, No Matching Manifest For Linux/Arm64/V8 Docker MySql
If you are using Apple Silicon M1 chip then sometimes you have an issue with the apps, containers, etc. Because some images don’t support…
onexlab-io.medium.com
반응형