[lxc-users] Use rootfs images to avoid lxc-create

Ranjib Dey dey.ranjib at gmail.com
Mon Feb 10 21:21:26 UTC 2014


if you are using lxc from master you can use the download template directly
to grab pregenerated images from images.linuxcontainer.org[1]

also, it will be helpful if you can share the mount error you got while
starting the container, it should work, as long as the config file is
appropriate

[1]
https://github.com/lxc/lxc/blob/f8d0243a78c65ea3c46eb60fbeef799c3f6e9a5b/templates/lxc-download.in




On Mon, Feb 10, 2014 at 1:05 PM, Robin Monjo <robin.monjo at applidget.com>wrote:

> Hello,
>
> I'd like to avoid the lxc-create step and directly use a "static" rootfs
> (that I can download for example).
>
> I've tried a really naive approach, by creating a rootfs using the ubuntu
> template and then compress the resulting rootfs folder and reuse it but it
> didn't work (some issue with mount points that couldn't be satisfied).
>
> The idea is really to avoid the lxc-create step in order to not depend on
> templates (that are scripts, that may change, that may work differently on
> different system ...)
>
> Any clue on how to achieved that ?
>
> Regards,
> Robin
>
> PS: big congrats to all the work done on lxc which is really an amazing
> tech !
> _______________________________________________
> 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/20140210/39c1d43e/attachment.html>


More information about the lxc-users mailing list