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

QIIME2 docker run Mac error --platform linux/amd64 #19

Open
cansavvy opened this issue Aug 28, 2024 · 0 comments
Open

QIIME2 docker run Mac error --platform linux/amd64 #19

cansavvy opened this issue Aug 28, 2024 · 0 comments

Comments

@cansavvy
Copy link

On: https://202408-q2-itn-workshop.readthedocs.io/en/latest/00-set-up.html , When running the following command:

docker container run \
  -itd \
  --rm \
  -v qiime2-workshop:/home/qiime2 \
  --name qiime2-workshop \
  -p 8889:8888 \
  quay.io/qiime2/workshops:2024.08.27-nih-amplicon-2024.5

Some mac users may get an error like this:

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

It is nicely solved by adding: --platform linux/amd64 to the command

So instead these users need to run:

docker container run \
  -itd \
  --rm \
  -v qiime2-workshop:/home/qiime2 \
  --name qiime2-workshop \
  --platform linux/amd64 \
  -p 8889:8888 \
  quay.io/qiime2/workshops:2024.08.27-nih-amplicon-2024.5

Solution as referenced here:
https://stackoverflow.com/questions/66662820/m1-docker-preview-and-keycloak-images-platform-linux-amd64-does-not-match-th

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
@cansavvy and others