WSL for Mac?
post
That's very cool! But, my work needs to run proprietary x86 containers not ARM ones. We are sadly being "forced" (they rather still not turn to open source software) to move to Windows. It's a shame.
I haven't checked but it should be possible?
macOS has had support for x64 binaries in Linux VMs for a few years now, using their Rosetta 2 translation layer.
I've been using colima for x64 emulation. This blog talks a little bit about it, but basically you start colima in either arm or x64 mode and then can run that type of image - https://blog.barakimam.me/running-vs-code-devcontainers-with-x8664-runtime-on-apple-silicon
I wonder if this opens up any new opportunities for cool Distrobox usecases.
You can already sort of hack distrobox-like functionality, but the biggest problem with doing so is that there's no Wayland or X11 server running on macOS, so GUI applications don't work unless you install something like XQuartz, and even then, it's a pretty janky experience.
I looks like it only allows 1 virtual machine at a time so docker-compose wouldn't work
Docker to my knowledge still requires a real Linux running somewhere, somehow. In MacOS, it has traditionally been some sort of a VM running under the hood via docker-machine. As this is emulationvirtualization, it has a rather severe overhead.
This containerization framework sounds like it might enable a more light-weight version of Linux, somewhat similar to what Windows has had via WSL for some time.
I hope I can run ollama in a container with full power, can't install it natively on my work computer
Still uses VMs, although it's 1 VM per container.
all 32 comments