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