Home [M1] /lib64/ld-linux-x86-64.so.2: No such file or directory
Post
Cancel

[M1] /lib64/ld-linux-x86-64.so.2: No such file or directory

1
docker run --platform linux/x86_64 <image>
1
2
ARG BASE_IMAGE=python:3.8-slim-buster
FROM --platform=linux/amd64 $BASE_IMAGE 

위와 같이 --platform=linux/amd64 flag를 추가하면 된다.

Reference

  • https://github.com/nodejs/help/issues/3239#issuecomment-868812479
This post is licensed under CC BY 4.0 by the author.

[FastAPI] Dockerize

[MacOS] tmux