canonical / lxd-demo-server

The LXD demo server

Home Page:https://linuxcontainers.org/lxd/try-it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LXD from snap and lxd-demo-server compiled

condector opened this issue · comments

It's only a question if we have an option to configure that.

If I use LXD from ubuntu repository (3.0.2), the LXD compiled work as expected (and I have some issues, probably related to the old version of LXD). Now, I'm trying to use my compiled version with the snap installed.

When I try to run the lxd-demo-server compiled, I saw this message:

$ ./lxd-demo-server Waiting for the LXD server to come online.

And the LXD from snap:

$ lxc version Client version: 3.8 Server version: 3.8

Thanks a lot for your work @stgraber

Ok, I solved the problem creating the socket link directly:

$ mkdir /var/lib/lxd

and, after that:

$ ln -s /var/snap/lxd/common/lxd/unix.socket /var/lib/lxd

Now, it's working.