On Sat, Mar 31, 2018 at 02:50:00PM +0300, Mihamina RAKOTOMANDIMBY wrote:
> Hello,
> 
> Running LXC 3 on Archlinux, after having buit for LXC with "distrobuild
> build-lxc [...]": what is the next step to register the new container and
> start it?

So that's simply (this assumes LXC 3.0):

lxc-create <container-name> -t local -- --metadata meta.tar.xz --fstree 
rootfs.tar.xz

> Then how to setup its networking in order to attach it to a bridge? (I've
> previouly set up a bridge)

lxc.net.0.type  = veth
lxc.net.0.flags = up
lxc.net.0.link  = <bridge-name>
lxc.net.0.name  = eth0

Christian
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to