[lxc-users] lxc-autostart in Centos 7

2016-04-27 Thread Saint Michael
In Ubuntu you boot the box and all the containers marked for auto-start ​ ​ do start. In Centos 7 they do not. I have been using /etc/rc.local but it does create an issue when the machine reboots, for Centos hangs there for several minutes. Any idea how to make Centos work as well as Ubuntu for LXC

Re: [lxc-users] publishing images

2016-04-27 Thread Pete Osborne
Thanks, That worked. I think a push would make more sense as it would resolve many network topology challenges and enable a lot of flexibility. Pete On Wed, Apr 27, 2016 at 11:24 PM, Stéphane Graber wrote: > On Wed, Apr 27, 2016 at 11:01:42PM -0400, Pete Osborne wrote: > > Hi, > > > > I am try

Re: [lxc-users] publishing images

2016-04-27 Thread Stéphane Graber
On Wed, Apr 27, 2016 at 11:01:42PM -0400, Pete Osborne wrote: > Hi, > > I am trying to setup an image server for my development team. I'm trying to > push a container from one host to a remote so that other users can use the > image. I happen to be pushing over an openvpn connection. My local IP i

[lxc-users] publishing images

2016-04-27 Thread Pete Osborne
Hi, I am trying to setup an image server for my development team. I'm trying to push a container from one host to a remote so that other users can use the image. I happen to be pushing over an openvpn connection. My local IP is 192.168.2.158 but my IP for the VPN is 172.16.0.5. sudo lxc remote ad

Re: [lxc-users] Installing nfs-kernel-server in lxc 2.0 xenial fails with "systemd[1]: Failed to reset devices.list on /system.slice/dev-lxc-tty4.mount: Operation not permitted"

2016-04-27 Thread Mahesh Patade
i thik so no. On 27 Apr 2016 10:35 pm, "Dan Kegel" wrote: > Isn't privileged mode on by default? > > On Wed, Apr 27, 2016 at 9:42 AM, Mahesh Patade > wrote: > > enable privileged mode. > > > > Mahesh > > > > On 27 Apr 2016 9:51 pm, "Dan Kegel" wrote: > >> > >> Tycho's tip, > >> "If you enable n

Re: [lxc-users] Installing nfs-kernel-server in lxc 2.0 xenial fails with "systemd[1]: Failed to reset devices.list on /system.slice/dev-lxc-tty4.mount: Operation not permitted"

2016-04-27 Thread Dan Kegel
Isn't privileged mode on by default? On Wed, Apr 27, 2016 at 9:42 AM, Mahesh Patade wrote: > enable privileged mode. > > Mahesh > > On 27 Apr 2016 9:51 pm, "Dan Kegel" wrote: >> >> Tycho's tip, >> "If you enable nesting in the container, that allows all mounts (for >> now) and it should work" >>

Re: [lxc-users] Installing nfs-kernel-server in lxc 2.0 xenial fails with "systemd[1]: Failed to reset devices.list on /system.slice/dev-lxc-tty4.mount: Operation not permitted"

2016-04-27 Thread Mahesh Patade
enable privileged mode. Mahesh On 27 Apr 2016 9:51 pm, "Dan Kegel" wrote: > Tycho's tip, > "If you enable nesting in the container, that allows all mounts (for > now) and it should work" > helped here. > > I filed https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1575757 to > suggest improving

Re: [lxc-users] Installing nfs-kernel-server in lxc 2.0 xenial fails with "systemd[1]: Failed to reset devices.list on /system.slice/dev-lxc-tty4.mount: Operation not permitted"

2016-04-27 Thread Dan Kegel
Tycho's tip, "If you enable nesting in the container, that allows all mounts (for now) and it should work" helped here. I filed https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1575757 to suggest improving the doc to mention nfs. On Tue, Apr 26, 2016 at 12:21 PM, Dan Kegel wrote: > Trying to

Re: [lxc-users] Unable to launch a LXC container

2016-04-27 Thread Stéphane Graber
On Wed, Apr 27, 2016 at 02:27:58PM +, Serge Hallyn wrote: > Quoting Muneeb Ahmad (muneeb.ganda...@gmail.com): > > Probably it is an architecture problem. seccomp is enabled in kernel and > > lxc-checkconfig shows everything enabled too. Though there's no security in > > /sys/kernel. > > I manag

Re: [lxc-users] Unable to launch a LXC container

2016-04-27 Thread Serge Hallyn
Quoting Muneeb Ahmad (muneeb.ganda...@gmail.com): > Probably it is an architecture problem. seccomp is enabled in kernel and > lxc-checkconfig shows everything enabled too. Though there's no security in > /sys/kernel. > I managed to run containers when I told LXD to ignore the policy by "lxc > prof

Re: [lxc-users] Networking issues with LXC containers in EC2

2016-04-27 Thread Peter Steele
On 01/12/2016 07:03 PM, Fajar A. Nugraha wrote: On Tue, Jan 12, 2016 at 9:29 PM, Peter Steele wrote: On 01/12/2016 05:59 AM, Fajar A. Nugraha wrote: On Tue, Jan 12, 2016 at 8:40 PM, Peter Steele wrote: I should have added that I have no issue running our software on a single EC2 instance wit