[lxc-users] Creating a custom LXC container

Spike spike at drba.org
Thu Apr 6 00:20:28 UTC 2017


are you suing lxc or lxd? in case it helps, I made a whole bunch of custom
containers by followed this simple process (which came from:
https://stgraber.org/2016/03/30/lxd-2-0-image-management-512/) :

- download image (xenial in my case from ubuntu: )
- lxc exec c1 /bin/bash
- make all the changes I want
- lxc stop c1
- lxc publish c1 (gets published to local: repository)

best,

Spike

On Wed, Apr 5, 2017 at 3:05 PM Nicholas Chambers <
nchambers at lightspeedsystems.com> wrote:

> Hello! I'm working on a code evaluation bot, and want to make a custom
> container for it to work in or out of. Would I just need to modify [1],
> and it will generate the container for me?
>
>
>      [1] https://github.com/lxc/lxc/blob/master/templates/lxc-ubuntu.in
>
> --
> Nicholas Chambers
> Technical Support Specialist
> nchambers at lightspeedsystems.com
> 1.800.444.9267 <(800)%20444-9267>
> www.lightspeedsystems.com
>
> _______________________________________________
> 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/20170406/8ca67119/attachment.html>


More information about the lxc-users mailing list