Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested #119

Open
br-follow opened this issue Sep 23, 2021 · 3 comments

Comments

@br-follow
Copy link

Attempting to run the docker container on a macbook with an M1 chip gives the following warning:

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

@DorskFR
Copy link

DorskFR commented Sep 26, 2021

FROM --platform=linux/amd64 tiangolo/uvicorn-gunicorn-fastapi:python3.9

in your Dockerfile

or

platform: linux/amd64

in your docker-compose

@flyingjoe
Copy link

flyingjoe commented Sep 28, 2021

This should be resolved once #118 is merged - we're using flyingjoe/uvicorn-gunicorn-fastapi:python3.9 in the meantime since the amd64 version was too slow.

@tedivm
Copy link

tedivm commented Nov 1, 2021

I opened #118, and in the meantime I've started publishing my own containers you can use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants