exec format error on M4 Macbook #1114
mattmacf98
started this conversation in
General
Replies: 1 comment 6 replies
-
|
Can you test with something simpler to help narrow down what's going wrong? $ docker run --rm --pull=always python:3.11-slim python --version
Python 3.11.15 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an M4 macbook air and am trying to use
python:3.11-slimas my base here is my Dockerfile belowrunning this fails at pip install
if I swap the FROM to
FROM --platform=linux/amd64 python:3.11-slimthen it builds (but with emulation which is not ideal)System info:
Macbook air M4, 2025, macOS Sequoia 15.3
Thank you in advance if anyone has a fix for this!!
Beta Was this translation helpful? Give feedback.
All reactions