[lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
I have successfully installed and created/started an LXC container on Ubuntu 15.10, but cannot get it to be visible on my home network. I do an ifconfig on both the host and in the container, and see the IPv4 address of lxcbr0 as 10.0.3.1, but after reading many, many convoluted and complex

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Luis Michael Ibarra
typo. I meant to expose a container. > In summary: > 1. If you are using a bridge not associated with a host interface(nic) and you want to expose a CONTAINER: > > - Only configure NAT on the host. > > 2. If you want to connect a host interface to the bridge having communication with the host

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
Luis: Much thanks! Robert M. Koretsky On Thu, Nov 19, 2015 at 4:52 PM, Luis Michael Ibarra < michael.iba...@gmail.com> wrote: > Hi all, > > On Nov 19, 2015 6:09 PM, "Robert Koretsky" wrote: > > > > Fajar: > > Thanks for the references to the Ubuntu lxc and the network bridge

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Guido Jäkel
On 19.11.2015 21:42, Robert Koretsky wrote: > I have successfully installed and created/started an LXC container on > Ubuntu 15.10, but cannot get it to be visible on my home network. I do an > ifconfig on both the host and in the container, and see the IPv4 address of > lxcbr0 as 10.0.3.1, but

Re: [lxc-users] Recent LXC / LXD and shared file systen infrastructures

2015-11-19 Thread Serge Hallyn
Quoting Guido Jäkel (g.jae...@dnb.de): > On 19.11.2015 03:25, Serge Hallyn wrote: > > Quoting Jäkel, Guido (g.jae...@dnb.de): > >> Dear experts, > >> > >> I wonder if the current versions of LXD (and LXC) are aware of a shared > >> file infrastructure like NFS. I'm using LXC 0.8 since a couple of

Re: [lxc-users] Recent LXC / LXD and shared file systen infrastructures

2015-11-19 Thread Guido Jäkel
On 19.11.2015 03:25, Serge Hallyn wrote: > Quoting Jäkel, Guido (g.jae...@dnb.de): >> Dear experts, >> >> I wonder if the current versions of LXD (and LXC) are aware of a shared file >> infrastructure like NFS. I'm using LXC 0.8 since a couple of years on a >> setup based on a bunch of diskless

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
Fajar: Thanks for the references to the Ubuntu lxc and the network bridge docs, I will carefully look those over for a solution to my problem. I did look at those docs first, and tried various modifications to the configuration files shown there, but didn't get anywhere. I will look again. In

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Guido Jäkel
On 19.11.2015 23:04, Robert Koretsky wrote: > Again, can anyone tell me why lxcbr0 is configured to start with an IP of > 10.0.3.1? My Ubuntu 15.10 Desktop machine, which has a container, gets its > IP via DHCP from a router. "Because" 10.0.0.0/8 is a reserved private network range like

Re: [lxc-users] Recent LXC / LXD and shared file systen infrastructures

2015-11-19 Thread Guido Jäkel
On 19.11.2015 21:58, Serge Hallyn wrote: >> By the way i would prefer any kind of textual format (even a "xml-hell") for >> such things like a configuration information over any proprietary >> representation because it will violate KISS but yield marginal benefits for >> the user of an

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Robert Koretsky
Guido et al: Another suggestion I got from the Ubuntu Forums on virtualisation gave me a single line that could be added to the iptables configuration( and also some other alternate ways of using and configuring ufw) to achieve a "port forwarding" of a port of interest, like 22, to the container

Re: [lxc-users] Ubuntu container IP address

2015-11-19 Thread Fajar A. Nugraha
On Fri, Nov 20, 2015 at 5:04 AM, Robert Koretsky wrote: > Guido et al: > Another suggestion I got from the Ubuntu Forums on virtualisation gave me > a single line that could be added to the iptables configuration( and also > some other alternate ways of using and configuring

Re: [lxc-users] lxc list fails to show containers after upgrade to lxd 0.22 / lxc 1.1.5

2015-11-19 Thread Matthew McKennirey
Thanks for the rapid response. I rebooted the server, then tried again. Host is Ubuntu 15.04 fully patched, kernel 3.19.0-25 (with later kernels lxd will not start because of a permission issue with proc) $ sudo uname -a Linux zeus 3.19.0-25-generic #26-Ubuntu SMP Fri Jul 24 21:17:31 UTC 2015

Re: [lxc-users] lxc list fails to show containers after upgrade to lxd 0.22 / lxc 1.1.5

2015-11-19 Thread Stéphane Graber
Hi, None of that really makes much sense... LXD should absolutely work on recent 3.19 kernels, in fact, our whole upstream testing is done on the latest 3.19. The mkdir error is also very odd as the call that appears to be failing there is a MkdirAll which specifically shouldn't fail if the

Re: [lxc-users] lxc list fails to show containers after upgrade to lxd 0.22 / lxc 1.1.5

2015-11-19 Thread Stéphane Graber
On Thu, Nov 19, 2015 at 11:51:55PM -0500, Stéphane Graber wrote: > Hi, > > None of that really makes much sense... > > LXD should absolutely work on recent 3.19 kernels, in fact, our whole > upstream testing is done on the latest 3.19. > > The mkdir error is also very odd as the call that