On Sat, Apr 07, 2018 at 10:11:58PM +0300, Mihamina RAKOTOMANDIMBY wrote:
> On 4/7/18 5:54 PM, Christian Brauner wrote:
> > 2. **Important** distrobuilder is the new way of creating machine/system
> >      container images
> >     The templates have been replaced by a new project called "distrobuilder"
> >     [5]. It aims to be a very simple Go project focussed on letting you 
> > easily
> >     build full system container images by either using the official cloud 
> > image
> >     if one is provided by the distro or by using the respective distro's
> >     recommended tooling (e.g. debootstrap for Debian or pacman for 
> > ArchLinux).
> >     It aims to be declarative, using the same set of options for all
> >     distributions while having extensive validation code to ensure 
> > everything
> >     that's downloaded is properly validated.
> > 
> >     **Warning: Advertisement** please consider packaging distrobuilder.
> >     https://github.com/lxc/distrobuilder
> > 
> >     A more lengthy justification can be found at:
> >     
> > https://brauner.github.io/2018/02/27/lxc-removes-legacy-template-build-system.html
> 
> 
> Hello,
> 
> I'm looking for some tutorial of using the image built with distrobuilder.
> 
> After having build the image: how to start it with lxc-start?

lxc-create -n <container-name> -t local -- --metadata /path/to/meta.tar.xz 
--fstree /path/to/rootfs.tar.xz
lxc-start -n <container-name>

Also see:
https://asciinema.org/a/165783

Christian
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to