Re: [lxc-users] Unable to Start Unprivileged Containers on Debian / Jessie

2014-09-22 Thread Chris
On 22/09/14 16:34, Serge Hallyn wrote: Quoting Naoki Kawakami (dole...@parallels.com): Hi Chris, Insure your plato user indeed has write access to the cgroups created by prep.sh and that the bash PID which would run lxc-start is indeed in the tasks file of each created cgroup. I remember having

Re: [lxc-users] Am I missing something?

2014-09-22 Thread CDR
You cannot have a macvlan bridge on an bridge interface, only on a real ethernet device, like eth0, eth1, etc. if you want to use a bridge, then use lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 lxc.network.name= eth1 lxc.network.hwaddr = 00:de:f0:ca:d4:32 lxc.network.ipv4

Re: [lxc-users] Am I missing something?

2014-09-22 Thread Erik Haller
Here is my production configuration: lxc.network.type = macvlan lxc.network.macvlan.mode = bridge lxc.network.flags = up lxc.network.link = eth0 lxc.network.ipv4 = 192.168.7.70/16 lxc.network.ipv4.gateway = 192.168.7.1 # ...# mounts point lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0 l

Re: [lxc-users] System configration: lxc.cgroup.*

2014-09-22 Thread Serge Hallyn
Quoting KATOH Yasufumi (ka...@jazz.email.ne.jp): > >>> On Mon, 22 Sep 2014 15:18:30 + > in message "Re: [lxc-users] System configration: lxc.cgroup.*" > Serge Hallyn-san wrote: > > > > Can't we use the system configuration: "lxc.cgroup.[use|pattern]" when > > > using LX

Re: [lxc-users] System configration: lxc.cgroup.*

2014-09-22 Thread KATOH Yasufumi
>>> On Mon, 22 Sep 2014 15:18:30 + in message "Re: [lxc-users] System configration: lxc.cgroup.*" Serge Hallyn-san wrote: > > Can't we use the system configuration: "lxc.cgroup.[use|pattern]" when > > using LXC with cgmanager? It only use only when using cgroupfs > > di

Re: [lxc-users] Unable to Start Unprivileged Containers on Debian / Jessie

2014-09-22 Thread Serge Hallyn
Quoting Naoki Kawakami (dole...@parallels.com): > Hi Chris, > > Insure your plato user indeed has write access to the cgroups > created by prep.sh and that the bash PID which would run lxc-start > is indeed in the tasks file of each created cgroup. > I remember having to edit this script because i

Re: [lxc-users] System configration: lxc.cgroup.*

2014-09-22 Thread Serge Hallyn
Quoting KATOH Yasufumi (ka...@jazz.email.ne.jp): > Hi, > > Can't we use the system configuration: "lxc.cgroup.[use|pattern]" when > using LXC with cgmanager? It only use only when using cgroupfs > directly? Both cgfs and cgmanager respect lxc.cgroup.pattern for containers started by root. Both i

[lxc-users] Am I missing something?

2014-09-22 Thread Chris Kloiber
Trying to wrap my mind around the lxc networking. I need to configure each container with it’s own static IP on the same subnet as the host. I think that requires a “macvlan/bridge” setup like this: lxc.network.type = macvlan lxc.network.macvlan.mode = bridge lxc.network.flags = up lxc.netwo

[lxc-users] System configration: lxc.cgroup.*

2014-09-22 Thread KATOH Yasufumi
Hi, Can't we use the system configuration: "lxc.cgroup.[use|pattern]" when using LXC with cgmanager? It only use only when using cgroupfs directly? -- KATOH Yasufumi ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxconta

Re: [lxc-users] Networking LXC and VirtualBox on the same host

2014-09-22 Thread John
On 20/09/14 14:21, J Bc wrote: route -n Not sure what you mean, everything's on the same subnet. Also, if it were routing then pings wouldn't work either... My route -n is this Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.0.0.138 0.0

Re: [lxc-users] Containers seem to cannot spawn new processes

2014-09-22 Thread Jäkel , Guido
Dear all, during some private chat communication with Lukas it turns out, that (at least) the limit for the number of file handles per user (ulimit -n) was much too low for real world usecases . It was set at 1024 for all user, as well on the host as on the containers. I advise him to adjust n