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

docker run raises "platform" related warning on ARM-based CPU #36

Open
juliendiot42 opened this issue Jul 20, 2024 · 2 comments
Open

docker run raises "platform" related warning on ARM-based CPU #36

juliendiot42 opened this issue Jul 20, 2024 · 2 comments
Assignees
Labels
bug (low) small bug that do not break the system enhancement New feature or request

Comments

@juliendiot42
Copy link
Collaborator

juliendiot42 commented Jul 20, 2024

A user on Mac OS with M chip reported a warning message after running the docker run command:

(base) <user>@<host> PlantBreedGame % docker run -d --rm --name plantbreedgame -p 80:3838 juliendiot/plantbreedgame
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no > specific platform was requested
7220f0e005ed493bf16c04f7a5b79388f937a0b82e48dc96999f86750ef97ae2

This do not seems to be blocking as this user reported the game can still run.

@juliendiot42 juliendiot42 added enhancement New feature or request bug (low) small bug that do not break the system labels Jul 20, 2024
@juliendiot42 juliendiot42 self-assigned this Jul 20, 2024
@juliendiot42
Copy link
Collaborator Author

I didn't dig much but this is probably related to how the docker image is build.

Currently I build the docker image "by hand" and I indeed do not specify any --platform.

I am planning to change the flow to build (and deploy) the images from the CI directly and this issue can be handle at this moment.
I would like to do that with nix (like I do for https://github.com/ut-biomet/PlantBreedGame-HelperApp) but I should first create a proper nix package.

Since this do not seems to be blocking it can wait.

@juliendiot42
Copy link
Collaborator Author

The image building system have been switched from docker to nix. I don't know if this trouble is still there (probably).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (low) small bug that do not break the system enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant