Dear Nicholas, there's no real difference in proposed procedure, just use lxc-execude to enter a containers enviroment (, i.e. set of namespaces). Or use lxc-attach to attach to a console login of the running container
with greetings Guido On 06.04.2017 16:01, Nicholas Chambers wrote: > My bad! I didn't realize there was a difference. At the moment I am working > with lxc. Also, I forgot to mention, I would ideally like to make an > unprivledged container, but can make a privledged container if necessary. > > > On 4/5/17 7:20 PM, Spike wrote: >> 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 >> <nchamb...@lightspeedsystems.com <mailto:nchamb...@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 >> nchamb...@lightspeedsystems.com >> <mailto:nchamb...@lightspeedsystems.com> >> 1.800.444.9267 <tel:%28800%29%20444-9267> >> www.lightspeedsystems.com <http://www.lightspeedsystems.com> >> >> _______________________________________________ >> lxc-users mailing list >> lxc-users@lists.linuxcontainers.org >> <mailto:lxc-users@lists.linuxcontainers.org> >> http://lists.linuxcontainers.org/listinfo/lxc-users >> >> >> >> _______________________________________________ >> lxc-users mailing list >> lxc-users@lists.linuxcontainers.org >> http://lists.linuxcontainers.org/listinfo/lxc-users > > > > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users > _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users