Re: [lxc-users] lxc-destroy failure while deleting rootfs for container

2014-11-21 Thread Shivraj Ghatkar
>From the host's perspective, the "/capsules_mnt/cap_a" points to the mount point for the capsule cap_a. This is the location where the root file system of the specific container exists. I need the "capsules_mnt" directory to differentiate, between different containers on the host. I have tried cr

Re: [lxc-users] abstract socket & network isolation.

2014-11-21 Thread Vijay Viswanathan
Looks like network.type=empty also has the same problem. ( process outside of the container cannot access these abstract sockets ) . Can you tell me why ? searching for sometime I found that empty creates an empty namespace but # ip netns list doesnt list anything how do I see the interfaces in the

Re: [lxc-users] processes escaped from memory cgroup in container, but CPU group is OK

2014-11-21 Thread Fajar A. Nugraha
On Fri, Nov 21, 2014 at 2:45 PM, Michael R. Hines < mrhi...@linux.vnet.ibm.com> wrote: > Hi All, > > I am using LXC 1.0.5, and I have container running Redhat 7.0 on a Power7 > processor. My host kernel version is 3.10.42. > > The cgroup for this container located at /cgroup/cpu works very well -

[lxc-users] iptables-persistent not loading rules

2014-11-21 Thread Mark Fox
On Ubuntu Server 14.04.1, my containers allow iptables rules to be set up and saved with iptables-persistent, but they don't get loaded when starting the container. In fact, a *sudo service iptables-persistent reload* doesn't work either. I'm not seeing any errors. The rule chains just remain in th

Re: [lxc-users] processes escaped from memory cgroup in container, but CPU group is OK

2014-11-21 Thread brian mullan
forgot to cc the list On Fri, Nov 21, 2014 at 11:25 AM, brian mullan wrote: > systemd was one of the topics discussed at last weeks Ubuntu Developer's > Summit > Systemd transition - 2014-11-14 18:00..18:55 in Platform 1 > >

Re: [lxc-users] Download template rootfs only

2014-11-21 Thread Serge Hallyn
You can download the ubuntu core (https://wiki.ubuntu.com/Core) tarball from http://cdimages.ubuntu.com/ubuntu-core/trusty/daily/current/ or download the same minimal rootfs used by the download template by looking at http://images.linuxcontainers.org/images/ubuntu/ -serge Quoting Luis M. Ibarra

Re: [lxc-users] Download template rootfs only

2014-11-21 Thread Robin Monjo
Have a look at dlrootfs: https://github.com/robinmonjo/dlrootfs, might help. On 21 Nov 2014, at 15:29, Luis M. Ibarra wrote: > I answer myself. I didn't mention it, but I need a minimal ubuntu rootfs. So, > after looking at the ubuntu template, I noticed debootstrap is the way to go. > > Le

Re: [lxc-users] Download template rootfs only

2014-11-21 Thread Luis M. Ibarra
I answer myself. I didn't mention it, but I need a minimal ubuntu rootfs. So, after looking at the ubuntu template, I noticed debootstrap is the way to go. Let's see if it works. 2014-11-20 18:19 GMT-05:00 Luis M. Ibarra : > Hi lxc-users, > > Is there a way to download only the template rootfs?

Re: [lxc-users] lxc-destroy failure while deleting rootfs for container

2014-11-21 Thread Serge Hallyn
Does it change anything if you change these to: none dev/pts devpts defaults 0 0 none procproc defaults 0 0 none sys sysfs defaults 0 0 /shared/cap_a/ shared none bind 0 0 ? ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://

[lxc-users] processes escaped from memory cgroup in container, but CPU group is OK

2014-11-21 Thread Michael R. Hines
Hi All, I am using LXC 1.0.5, and I have container running Redhat 7.0 on a Power7 processor. My host kernel version is 3.10.42. The cgroup for this container located at /cgroup/cpu works very well - I can manually echo different shares and control resource usage as expected. But, to my surp