[lxc-users] lxd and lxc-utils incomaptability

Serge E. Hallyn serge at hallyn.com
Sun Mar 15 03:23:17 UTC 2020


On Sat, Mar 14, 2020 at 12:43:33PM -0600, IOT verbindingen wrote:
> Folks
> Is below the expected behavior? Are the lxc-utils incompatible with lxd?

Indeed, consider them incompatible.  While a few of the lxc-utils commands
will work if given the right parameters, you need to know too many of the
internals in order to make sure what you're doing is safe.

In particular, once a container is running, the lxc command api can be
used to interact with the monitor if you pass the right lxc-path;
however lxd uses its own database for configuring containers, so
'lxc-start' for instance would never work right.

You never quite said - why do you want to do this?  Why not use the
lxd client ('lxc')?

-serge


More information about the lxc-users mailing list