commando icon indicating copy to clipboard operation
commando copied to clipboard

multiarch support

Open MaxPeal opened this issue 4 years ago • 1 comments

can you plase add multiarch support / multi_arch_container?

MaxPeal avatar Jun 04 '20 19:06 MaxPeal

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.

cbrunnkvist avatar Jul 11 '23 06:07 cbrunnkvist