HI folks, I keep going in circles with this, perhaps someone can point me on the right direction.
I’ve built a home lab with ubuntu server 22.04, set up lxd, and have several instances running.
On my windows machine I have set up wsl2 and installed the ubuntu image.
I’m trying to interact with my lxd remotely through my wsl2 ubuntu.
Snap doesn’t work on wsl2, is there a way to install the “client” lxd/lxc without using snap?
I was able to do that for windows, using chocolatey, so I do have lxc working on powershell, but not everything work, e.g. lxc shell vm01.
Should I be using another distro on wsl2 that doesn’t depend on snap?
I’ve tried ubuntu 18 but lxc is version 3.0.3 and I get the TLS error.
I suspect lxc shell is an internal alias.
I get these error messages:
lxc shell 10.0.0.10:vm01
Error: Processing aliases failed: not supported by windows
lxc shell vm01
Error: Processing aliases failed: not supported by windows
thanks @turtle0x1, and I did mark it as a solution, but I’m looking for the solution to the wsl2 issue.
Your point is a good workaround for powershell not supporting the aliases.