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 <[email protected]>:

> Send lxc-users mailing list submissions to
>         [email protected]
>
> 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
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> 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 <[email protected]>
> To: LXC users mailing-list <[email protected]>
> 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 <[email protected]>
> 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
> > [email protected]
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to