Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Closed
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.

Repository owner locked and limited conversation to collaborators Aug 25, 2024
@tiangolo tiangolo converted this issue into discussion #313 Aug 25, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants