[lxc-users] lxd and lxc-utils incomaptability

IOT verbindingen iotconnexions at gmail.com
Sun Mar 15 05:01:46 UTC 2020


Serge

Thanks for the reply.  I am new to lxd and was exploring with lxc-...
commands since I erroneously believed that they should work since LXD is
built on top of lxc.



On Sat, Mar 14, 2020 at 9:23 PM Serge E. Hallyn <serge at hallyn.com> wrote:

> 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
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20200314/9569beee/attachment.htm>


More information about the lxc-users mailing list