This means - docker is finally available!
Docker requires WSL2 and sub-virtualization support on Windows. EC2 does not enable sub-virt and their 2019 images are LTS (maps to 1809), so they don’t support WSL2. If you want to use docker, you can potentially install an older version and use windows containers. Alternatively, you can use a container service and perform remote dev from the workspace (vscode is really good for this these days).
Crazy that this image doesn’t at least enable WSL2. It’s so good!
What do you think about this?
And yeah WSL1 is better than nothing.. until now with windows server 2016 you couldn’t do anything, so windows containers are still something
W365 is so superior to this… but good news!
Can you elaborate? I know also that comparing the prices it’s twice then AWS worksapces machines
It’s not up to the image. EC2 doesn’t expose the virtualization extensions to the guests which means you can’t do nested virt and WSL2 would require nested virt.
Why is this based on server? It’s maddening, is win10 some kind of impossibility? My client insists on attempting to use these things as ‘developer workstations’ they utterly suck. Docker, WSL… mostly anything useful just doesn’t work.
The AL2 boxes seems like a decent service but this ‘windows server with desktop experience’…. Utter trash.
My guess, Microsofts licencing terms prohibit this.
It’s for licensing purposes. Amazon can offer Windows Server 2019 Data Center and use that as the base for Workspaces, whereas it’s more complicated with Windows 10 because Microsoft doesn’t really supply Cloud-friendly licensing terms for their desktop products.
You can still use Windows 10 with Workspaces, but you need to bring your own licensing and you have to use dedicated tenancy. Windows Server 2019 doesn’t have those restrictions.
I thought WSL2 was enabled entirely by a windows subsystem and that virt wouldn’t be required. At least that’s how I remember WSL1 working
Dedicated tenancy? So Microsoft is oracle now with windows 10? What an awful decision for terrible reasons.
Well, all solutions are basically the same so all have the same problem
That was how WSL1 worked yes, at the cost of major performance issues depending on your workload. WSL2 threw that out the window and uses a standard VM now, better performance, no guest modifications required, but you need the virt extensions.
That’s unfortunate, as I thought that MS finally leveraging SXSS for this was a great idea. Shame that it didn’t work out. I do remember Git being abysmally slow within WSL1.
Yup, I/O was (IIRC) the hardest hit operation for WSL1’s performance issues