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

multiarch support #5

Open
MaxPeal opened this issue Jun 4, 2020 · 1 comment
Open

multiarch support #5

MaxPeal opened this issue Jun 4, 2020 · 1 comment

Comments

@MaxPeal
Copy link

MaxPeal commented Jun 4, 2020

can you plase add multiarch support / multi_arch_container?

@cbrunnkvist
Copy link

For reference, I think this issue relates to this error:

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

You typically see this because you are attempting to make use of cmd.cat on an Apple Silicon (M1/M2/M*) Mac. The root cause is that the images are only generated for the x86 platform. (Platform = Architecture * OS)

The current workaround is to explicitly let docker engine know that you want the x86 version of the image, e.g. for 64-bit:

$ docker run -it --rm --platform linux/amd64 cmd.cat/python2.7

does the trick.

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