[lxc-users] Nested containers with systemd (Ubuntu 15.04)

2015-05-26 Thread Cam Cope
Can anyone confirm that container nesting works for them with Ubuntu 15.04 host + containers? So far I keep getting cgmanager errors (which I suspect are related to systemd). -Cam ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://list

Re: [lxc-users] Nested containers - lxcbr0 IP allocation

2015-04-02 Thread Serge Hallyn
Quoting Mark Clarkson (mark.clark...@smorg.co.uk): > Hi, > Instead of doing testing of LXC in a full VM (e.g. virtualbox), I'm > doing it in a container. This allows me to run alot of heavy > software on my laptop where a full vm would struggle. This is my > lxc-vm. > > lxc-vm (default lxcbr0 is 1

Re: [lxc-users] Nested containers - lxcbr0 IP allocation

2015-03-28 Thread Mark Clarkson
On 28/03/15 13:34, Mark Clarkson wrote: Hi, Instead of doing testing of LXC in a full VM (e.g. virtualbox), I'm doing it in a container. This allows me to run alot of heavy software on my laptop where a full vm would struggle. This is my lxc-vm. lxc-vm (default lxcbr0 is 10.0.3.1) In the lxc-vm

[lxc-users] Nested containers - lxcbr0 IP allocation

2015-03-28 Thread Mark Clarkson
Hi, Instead of doing testing of LXC in a full VM (e.g. virtualbox), I'm doing it in a container. This allows me to run alot of heavy software on my laptop where a full vm would struggle. This is my lxc-vm. lxc-vm (default lxcbr0 is 10.0.3.1) In the lxc-vm I am creating more lxc containers. My

Re: [lxc-users] nested containers

2015-03-06 Thread Mohan G
Thanks much.. This helps RegardsMohan From: Fajar A. Nugraha To: LXC users mailing-list Sent: Friday, March 6, 2015 12:30 PM Subject: Re: [lxc-users] nested containers This is on ubuntu 14.10, lxc and lxcfs from ppa:ubuntu-lxc/daily Test memory limit on the parent container, by

Re: [lxc-users] nested containers

2015-03-05 Thread Fajar A. Nugraha
> > Regards > Mohan > > > ____________ > From: Fajar A. Nugraha > To: LXC users mailing-list > Sent: Wednesday, March 4, 2015 2:44 PM > Subject: Re: [lxc-users] nested containers > > On Wed, Mar 4, 2015 at 12:15 PM, Mohan G wrote: > > >

Re: [lxc-users] nested containers

2015-03-05 Thread Mohan G
users mailing-list Sent: Wednesday, March 4, 2015 2:44 PM Subject: Re: [lxc-users] nested containers On Wed, Mar 4, 2015 at 12:15 PM, Mohan G wrote: > Hi, > Is there anyway we can have nested containers/cgroups. One parent container > forming the basis for children containers. i.e

Re: [lxc-users] nested containers

2015-03-05 Thread Mohan G
: LXC users mailing-list Sent: Wednesday, March 4, 2015 2:44 PM Subject: Re: [lxc-users] nested containers On Wed, Mar 4, 2015 at 12:15 PM, Mohan G wrote: > Hi, > Is there anyway we can have nested containers/cgroups. One parent container > forming the basis for children contai

Re: [lxc-users] nested containers

2015-03-04 Thread Fajar A. Nugraha
On Wed, Mar 4, 2015 at 12:15 PM, Mohan G wrote: > Hi, > Is there anyway we can have nested containers/cgroups. One parent container > forming the basis for children containers. i.e subset of parent container. Yes. On parent container config (in ubuntu), add this: lxc.aa_profile=lxc-container-def

[lxc-users] nested containers

2015-03-03 Thread Mohan G
Hi,Is there anyway we can have nested containers/cgroups. One parent container forming the basis for children containers. i.e subset of parent container. RegardsMohan ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontai

Re: [lxc-users] Nested containers (cont'd)

2014-04-10 Thread Serge Hallyn
Quoting Nels Nelson (nels.n.nel...@gmail.com): > Serge, et al,- > > I was able to get the inner container started after I did two things. > > First, I set this option in every container config: > > lxc.mount.auto = cgroup Excellent. > Second, I create the directory /lib/var/lxc in each con

Re: [lxc-users] Nested containers (cont'd)

2014-04-10 Thread Nels Nelson
Serge, et al,- I was able to get the inner container started after I did two things. First, I set this option in every container config: lxc.mount.auto = cgroup Second, I create the directory /lib/var/lxc in each container in which I created another nested container. There is still a stran

Re: [lxc-users] Nested containers (cont'd)

2014-04-08 Thread Nels Nelson
Greetings, Serge,- > Please show us your minimal template Certainly. It is based on the lxc-sshd template, substituting a dummy daemon for sshd. https://gist.github.com/nelsnelson/10189332 I am only using a template at all because of this bug: https://github.com/lxc/lxc/issues/179 -Nels _

Re: [lxc-users] Nested containers (cont'd)

2014-04-08 Thread Serge Hallyn
Quoting Nels Nelson (nels.n.nel...@gmail.com): > So I attempted to follow Stephane's instructions here: > https://www.stgraber.org/2013/12/21/lxc-1-0-advanced-container-usage/ > > In order to create some nested containers. > > It is important to note that Stephane's blog does not indicate actuall

[lxc-users] Nested containers (cont'd)

2014-04-08 Thread Nels Nelson
So I attempted to follow Stephane's instructions here: https://www.stgraber.org/2013/12/21/lxc-1-0-advanced-container-usage/ In order to create some nested containers. It is important to note that Stephane's blog does not indicate actually starting a nested container, but only creating it. Also,

[lxc-users] Nested containers

2014-01-15 Thread brian mullan
Marc Not sure if you saw all the latest LXC writeups that Stephane Graber posted in the last month on LXC. http://voices.canonical.com/tag/lxc/ Check under the entry titled: Container Nesting but also do a page search fo "nest" As nesting is discussed in several of the posts referred to by th

Re: [lxc-users] Nested containers

2014-01-14 Thread Marc Aymerich
On Tue, Jan 14, 2014 at 9:32 PM, Stéphane Graber wrote: > On Tue, Jan 14, 2014 at 06:16:08PM +0100, Marc Aymerich wrote: >> Hi, >> >> I'm trying to boot a Debian LXC container inside another Debian >> container, Ubuntu is my host. >> >> My base container uses the following app armor prfofile, in o

Re: [lxc-users] Nested containers

2014-01-14 Thread Stéphane Graber
On Tue, Jan 14, 2014 at 06:16:08PM +0100, Marc Aymerich wrote: > Hi, > > I'm trying to boot a Debian LXC container inside another Debian > container, Ubuntu is my host. > > My base container uses the following app armor prfofile, in order to > allow forking nested containers: > https://dl.stgrabe

[lxc-users] Nested containers

2014-01-14 Thread Marc Aymerich
Hi, I'm trying to boot a Debian LXC container inside another Debian container, Ubuntu is my host. My base container uses the following app armor prfofile, in order to allow forking nested containers: https://dl.stgraber.org/lxc-with-nesting However I'm getting a cgroups related issue when I try