Does the x64 container work on the M1 Mac?

Asked 2 years ago, Updated 2 years ago, 305 views

I am currently considering purchasing a Mac for development.
During the development, multiple x64 containers must operate locally using Docker Desktop.
I will also use kubernetes.

I'm thinking of buying a Mac with M1 architecture considering the cost-effectiveness.
However, there was an article about x86 and arm64 working, but there was no article referring to x64.

Will the x64 container work with a Mac using Rosetta 2 and so on?

macos docker docker-for-mac

2022-09-30 21:56

1 Answers

"As of spring 2021, my personal answer would be ""I think it will work roughly, but if you want to develop it for in-house development, I think it would be better to buy one and verify the technology."""

Rosetta 2 naturally supports x86_64, and Docker Desktop for Apple silicon is officially announced in 3.3.1 release on April 15, 2021.However, there is an annotation that emulation can rarely crash.

I understand that the response is progressing gradually, but some applications may still not be able to perform emulation well.It can also get stuck in areas other than emulation.In other words, it depends on the use case, so I personally think it's faster to introduce one and verify it.As for Kubernetes, the current open issue on github.com/docker/for-mac is Zero, but it should also be convenient for the application to be placed on Kubernetes.


2022-09-30 21:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.