LXD on WSL 2, will it work?

Hi There,

Does anyone know if LXD is likely to run on the new WSL 2?

I’ve read that docker is now supported but can’t find any references to LXD.

That’s an older link. WSL 2 was just made available as a preview, https://www.omgubuntu.co.uk/2019/06/windows-subsystem-for-linux-2-insider-ring There is a nice demo video of the full process at https://www.youtube.com/watch?v=IZSYi8bivxA but you are required to turn off the audio while you play it.

1 Like

I see what you mean about the audio!

Is there any clue that LXD might work?

I guess that I will have to try myself when I get some time.

Just tried to install LXD on WSL2 and it did not work. I started a separate thread here on this, with plans to update when WSL2 is updated.

1 Like

Not sure whether lxd-agent could work via WSL2, so lxc exec can work on Win10 throught WSL2…