Re:M1 dev setup with a virtual Linux box
by okamiueru on Sunday April 11, 2021 @03:54PM
(#26772907)
Is this because you consider WSL2 to be Linux, and not Windows?
[ Parent
| on HN ]
> Windows requires the host OS version to match the container OS version. If you want to run a container based on a newer Windows build, make sure you have an equivalent host build. Otherwise, you can use Hyper-V isolation to run older containers on new host builds. You can read more on Windows Container Version Compatibility in our Container Docs.
https://hub.docker.com/_/microsoft-windows-base-os-images
And WSL2 is Linux running in a VM on Windows.
Ah, my bad. I thought you meant not being able to run linux based images in docker when run with wsl2. There is also a significant difference between the vmware like implementation and wsl2. Spinning up a linux machine in VMware and running docker on that, as mentioned in the article, is quite a different ballpark. Especially when considering the limited CPU and ram resources.