[lxc-users] clarification

Matt Barrett matt.barrett1978 at gmail.com
Fri Aug 12 13:13:25 UTC 2016


Interesting. I've been using LXD but I thought of it as LXD for the
container server side which hosted LXC containers. I guess that was the
wrong way of looking at it based on your comments.

On Aug 11, 2016 5:24 PM, "Sean McNamara" <smcnam at gmail.com> wrote:

> On Thu, Aug 11, 2016 at 8:12 PM, Worth Spending <worthspending at gmail.com>
> wrote:
> > I'm currently reading thru the documentation at:
> https://linuxcontainers.org
> > to learn lxc.
> >
> > There seems to be multiple ways of running lxc commands.
> >
> > lxc-start, lxc-stop, lxc-attach, lxc-ls
>
>
> The "hyphenated" commands are from the "legacy" LXC command line interface.
>
>
> >
> > or lxc with sub commands.
> >
> > lxc start
> >
> > lxc stop
> >
> > lxc list
>
> The "non-hyphenated" commands are for the **LXD** (D, not C) container
> hypervisor. This is a completely different product/application than
> LXC. The LXD client binary, `lxc`, is extremely unfortunately named
> and thus very confusing for new users, which has been discussed about
> 9000 times on this mailing list.
>
>
>
>
> >
> > So, the question is: What is the current preferred usage for lxc
> commands?
> > hyphenated commands or lxc with sub commands?
>
>
> You need to look into the benefits and drawbacks of using either LXC
> or LXD (consider each one separately in terms of what it offers, how
> it's implemented, and how it's used) and make a decision. If you use
> the hyphenated LXC commands, any containers you create in that
> environment will be completely invisible to LXD, and vice versa. They
> each keep track of containers differently so LXD does not know about
> LXC containers and LXC does not know about LXD containers.
>
>
> >
> > Thanks...
> >
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> 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/20160812/2d12c2f6/attachment.html>


More information about the lxc-users mailing list