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 does not work on Macs with Apple chips #53

Closed
alsnhll opened this issue May 21, 2023 · 2 comments
Closed

Docker does not work on Macs with Apple chips #53

alsnhll opened this issue May 21, 2023 · 2 comments

Comments

@alsnhll
Copy link
Collaborator

alsnhll commented May 21, 2023

Using Mac laptop with OS X 11.2. See this note for known issues: https://docs.docker.com/desktop/troubleshoot/known-issues/. Will get platform incompatibility errors ie " WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested" and then will run into problems running under emulation, most notably that files which are updated on host machine do not correctly update on mounted volume in Docker.

I tried using this workaround but Docker Desktop just hung for hours when trying to turn the Virtualization option on, eventually had to uninstall whole thing : https://collabnix.com/warning-the-requested-images-platform-linux-amd64-does-not-match-the-detected-host-platform-linux-arm64-v8/

@alsnhll
Copy link
Collaborator Author

alsnhll commented May 22, 2023

This problem doesn't occur on my Mac with Intel chip (Running OSX 10.15)

@alsnhll
Copy link
Collaborator Author

alsnhll commented May 24, 2023

I resolved these issues for myself with the following steps:

  • completely deleted Docker: Go to Docker > Troubleshoot (bug icon in top right) > Uninstall. Then went to Applications folder and moved Docker to Trash
  • Installed updates to OS X 11.7
  • Installed Rosetta (https://support.apple.com/en-us/HT211861) > softwareupdate --install-rosetta
  • Reinstalled Docker, making sure to download the version for Apple Chip macs

I still get the following warning when starting Docker: WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

and the following when running gempyor-seir:
: MADV_DONTNEED does not work (memset will be used instead)
: (This is the expected behaviour if you are running under QEMU)

But the simulation seems to run fine

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

2 participants