[lxc-users] lxc-users Digest, Vol 207, Issue 1

Thouraya TH thouraya87 at gmail.com
Tue Nov 28 08:39:47 UTC 2017


lxc-ls -f:
container 1
container 2
container 3

Their rootfs are in /var/lib/lxc

and i have the rootfs of a container 4 in /home

can i do that:
lxc-clone -n NewContainer -p /home/container4


?
Bests.

2017-11-27 13:00 GMT+01:00 <lxc-users-request at lists.linuxcontainers.org>:

> Send lxc-users mailing list submissions to
>         lxc-users at lists.linuxcontainers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.linuxcontainers.org/listinfo/lxc-users
> or, via email, send a message with subject or body 'help' to
>         lxc-users-request at lists.linuxcontainers.org
>
> You can reach the person managing the list at
>         lxc-users-owner at lists.linuxcontainers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lxc-users digest..."
>
> Today's Topics:
>
>    1. Re: lxc-clone (Pavol Cupka)
>
>
> ---------- Message transféré ----------
> From: Pavol Cupka <pavol.cupka at gmail.com>
> To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> Cc:
> Bcc:
> Date: Sun, 26 Nov 2017 20:08:40 +0100
> Subject: Re: [lxc-users] lxc-clone
> I don't really understand what you are trying to do?
>
> Yes, you can clone a lxc container with
>
> lxc-copy -n c1 -N c2
>
> c1 has to exist because then there is nothing to clone/copy :)
>
> Cheers
>
> On Sun, Nov 26, 2017 at 12:54 PM, Thouraya TH <thouraya87 at gmail.com>
> wrote:
> > Hi,
> > Please, can i do lxc-clone -n c1 and c1 does not exist in lxc-ls ?
> >
> > Thanks a lot for help.
> > Kind regards.
> >
> > _______________________________________________
> > 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/20171128/25a40021/attachment.html>


More information about the lxc-users mailing list