[lxc-users] lxc list --fast

2016-03-19 Thread Tamas Papp
hi, tompos@ttk-mdr:~$ lxc list +---+-++--++---+ | NAME | STATE | IPV4 | IPV6 | TYPE| SNAPSHOTS |

Re: [lxc-users] Systemd support status

2016-03-19 Thread Fajar A. Nugraha
On Wed, Mar 16, 2016 at 6:05 PM, Albert Shih wrote: > Hi all, > > I would like to know what is the status about lxc supporting inside the > guest systemd. It works if you have the prequisite. And since ubuntu is shipping lxc/lxd with ubuntu 16.04 (which uses systemd), they

Re: [lxc-users] snapshot listing

2016-03-19 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): > > > On 03/17/2016 12:09 AM, Serge Hallyn wrote: > >Quoting Tamas Papp (tom...@martos.bme.hu): > >>hi, > >> > >>I remember, that not very long time ago the 'lxc list' command also > >>listed snapshots too. > >>But now it doesn't. How can I do that now?

Re: [lxc-users] How to set LXD container locale?

2016-03-19 Thread zztest
On 2016-03-19 10:16, Stéphane Graber wrote: On Sat, Mar 19, 2016 at 03:33:11AM -0700, zzt...@openmailbox.org wrote: None of the typical ways of setting locales seem to stick in my Ubuntu container in an Ubuntu host (Ubuntu 15.10, LXD 2.0.0.rc4) The host's locale shows this LANG=en_US.UTF-8

Re: [lxc-users] Wildcard in lxd commands?

2016-03-19 Thread zztest
On 2016-03-17 07:07, Mark Constable wrote: On 17/03/16 23:01, Janne Savikko wrote: You can not use filters to list running or stopped containers. Lxc start or stop do not support filters, only container name (or names). You though can always pipe commands if you want to stop dozens of

Re: [lxc-users] How to setup a static IP in a container with LX[C|D] 2.0.0.*

2016-03-19 Thread Sean McNamara
On Fri, Mar 18, 2016 at 12:09 PM, Sean McNamara wrote: > On Fri, Mar 18, 2016 at 11:43 AM, Stéphane Graber wrote: >> Our stance hasn't changed. LXD doesn't know nor care about layer-3 >> networking, all it does is setup your layer-2. >> >> Having LXD

Re: [lxc-users] snapshot listing

2016-03-19 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): > > > On 03/17/2016 04:02 AM, Serge Hallyn wrote: > >Quoting Tamas Papp (tom...@martos.bme.hu): > >> > >>On 03/17/2016 12:09 AM, Serge Hallyn wrote: > >>>Quoting Tamas Papp (tom...@martos.bme.hu): > hi, > > I remember, that not very long

Re: [lxc-users] snapshot listing

2016-03-19 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu): > hi, > > I remember, that not very long time ago the 'lxc list' command also > listed snapshots too. > But now it doesn't. How can I do that now? > You can see the number of snapshots with lxc list -c nS +--+---+ | NAME | SNAPSHOTS |

[lxc-users] Limit file descriptors

2016-03-19 Thread Alan Hoffmeister
Hello folks, I'm having some troubles where one container can drain the amount of file descriptors available in the host system. Does somebody knows how to limit file descriptors per container? I'm running lxd v2.0.0.rc3 and lxc v2.0.0.rc10 Cheers -- Alan Hoffmeister

Re: [lxc-users] ppa issues

2016-03-19 Thread Stéphane Graber
On Sat, Mar 19, 2016 at 11:28:41AM -0700, Mike Wright wrote: > Hi all, > > First: thanks for all your efforts with LXC, etc. I've got to say that LXC > makes accessible virtual machines more easily than any other approaches I've > tried (except maybe renting one in "The Cloud" ;D ) > > Current

[lxc-users] ppa issues

2016-03-19 Thread Mike Wright
Hi all, First: thanks for all your efforts with LXC, etc. I've got to say that LXC makes accessible virtual machines more easily than any other approaches I've tried (except maybe renting one in "The Cloud" ;D ) Current running lxc-1.1.5 on wily and want to explore 2.x. I'm having problems

Re: [lxc-users] Wildcard in lxd commands?

2016-03-19 Thread Serge Hallyn
Quoting zzt...@openmailbox.org (zzt...@openmailbox.org): > Will wildcards be supported in lxd commands? For example, I'd like > to do this: > > $ lxc info host:* > > or > > $ lxc info host:web* > > and get info on all containers/containers starting with "web" on host. > > Is there a

Re: [lxc-users] snapshot listing

2016-03-19 Thread Tamas Papp
On 03/17/2016 04:02 AM, Serge Hallyn wrote: Quoting Tamas Papp (tom...@martos.bme.hu): On 03/17/2016 12:09 AM, Serge Hallyn wrote: Quoting Tamas Papp (tom...@martos.bme.hu): hi, I remember, that not very long time ago the 'lxc list' command also listed snapshots too. But now it doesn't.

Re: [lxc-users] Limit file descriptors

2016-03-19 Thread Guido Jäkel
Dear Alan, adjust the limits per Container in /etc/security/limits.conf , e.g. add something like * hardnofile 8192 * softnofile 8000 * hardnproc 1024 * soft

Re: [lxc-users] How to setup a static IP in a container with LX[C|D] 2.0.0.*

2016-03-19 Thread Stéphane Graber
Our stance hasn't changed. LXD doesn't know nor care about layer-3 networking, all it does is setup your layer-2. Having LXD pre-initialize your network namespace confuses the heck out of a bunch of distros which expect all network to be unconfigured by the time they apply their own config (they

Re: [lxc-users] How to set LXD container locale?

2016-03-19 Thread Stéphane Graber
On Sat, Mar 19, 2016 at 03:33:11AM -0700, zzt...@openmailbox.org wrote: > None of the typical ways of setting locales seem to stick in my Ubuntu > container in an Ubuntu host (Ubuntu 15.10, LXD 2.0.0.rc4) > > The host's locale shows this > > LANG=en_US.UTF-8 > LANGUAGE= > LC_CTYPE="en_US.UTF-8"

Re: [lxc-users] Is there anything in LXC that would prevent DHCPv6 from working?

2016-03-19 Thread Wolfgang Bumiller
> On March 18, 2016 at 1:19 PM John Lewis wrote: > > > I am use wide-dhcpv6-server and wide-dhcpv6-client in two diffrent LXCs > with an iproute2 created bridge and lxc created tun/tap devices and I am > using 3.16.0-4-amd64 #1 SMP and my kernel. I don't have any firewall >

Re: [lxc-users] snapshot listing

2016-03-19 Thread Tamas Papp
On 03/17/2016 12:09 AM, Serge Hallyn wrote: Quoting Tamas Papp (tom...@martos.bme.hu): hi, I remember, that not very long time ago the 'lxc list' command also listed snapshots too. But now it doesn't. How can I do that now? You can see the number of snapshots with lxc list -c nS

Re: [lxc-users] How to set LXD container locale?

2016-03-19 Thread Claudio Kuenzler
Have you tried this way: echo "en_US.UTF-8 UTF-8" > /etc/locale.gen locale-gen It's the method we're using the set the locale in LXC containers. On Sat, Mar 19, 2016 at 11:33 AM, wrote: > None of the typical ways of setting locales seem to stick in my Ubuntu >

Re: [lxc-users] lxc list --fast

2016-03-19 Thread Tamas Papp
On 03/16/2016 09:48 PM, Stéphane Graber wrote: On Wed, Mar 16, 2016 at 09:37:11PM +0100, Tamas Papp wrote: hi, tompos@ttk-mdr:~$ lxc list +---+-++--++---+ | NAME | STATE | IPV4 |

Re: [lxc-users] How to setup a static IP in a container with LX[C|D] 2.0.0.*

2016-03-19 Thread Sean McNamara
First of all, there's no such thing as LX[C|D]. You're either using LXC or LXD. They're different enough in their configuration and operation that you can't ask an "either-or" question. Pick one solution and focus on that. I just wanted to chime in to say that I have this same question. I'm stuck

[lxc-users] How to set LXD container locale?

2016-03-19 Thread zztest
None of the typical ways of setting locales seem to stick in my Ubuntu container in an Ubuntu host (Ubuntu 15.10, LXD 2.0.0.rc4) The host's locale shows this LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8"

Re: [lxc-users] Wildcard in lxd commands?

2016-03-19 Thread Mark Constable
On 17/03/16 23:01, Janne Savikko wrote: You can not use filters to list running or stopped containers. Lxc start or stop do not support filters, only container name (or names). You though can always pipe commands if you want to stop dozens of containers whose names begin with "web" (note! lxc

[lxc-users] How to setup a static IP in a container with LX[C|D] 2.0.0.*

2016-03-19 Thread Hans Deragon
Greetings, Ok, this is ridiculous and I apologize for asking help for such a simple task, but I fail to find the answers by myself. I fail to find proper documentation to setup bridge networking and static IP. Newbie here btw and setup details at the end of this email. I got the container

Re: [lxc-users] LXD Newb questions

2016-03-19 Thread Tycho Andersen
On Wed, Mar 16, 2016 at 02:06:17AM +, Will Dennis wrote: > > root@xenial-02:~# lxc list all > +---+--+-+---+--++---+ > | HOST| NAME | STATE | IPV4| IPV6 |TYPE| > SNAPSHOTS | >

[lxc-users] Can't start container after lxd/lxc/lxcfs upgrade

2016-03-19 Thread B G
lxc => 2.0.0rc4 lxd => 2.0.0rc4 lxcfs => 2.0.0rc6 After the latest upgrade to lxc/lxd tools existing and new containers fail to start, failing on the following stage from the container log: lxc 20160318161829.810 INFO lxc_conf - conf.c:run_script_argv:367 - Executing script

Re: [lxc-users] lxc list --fast

2016-03-19 Thread Stéphane Graber
On Wed, Mar 16, 2016 at 09:37:11PM +0100, Tamas Papp wrote: > hi, > > tompos@ttk-mdr:~$ lxc list > +---+-++--++---+ > > | NAME | STATE | IPV4 | IPV6 |TYPE > | SNAPSHOTS | >

Re: [lxc-users] Can't start container after lxd/lxc/lxcfs upgrade

2016-03-19 Thread Stéphane Graber
On Sat, Mar 19, 2016 at 05:47:19AM +0700, Fajar A. Nugraha wrote: > On Sat, Mar 19, 2016 at 1:12 AM, B G wrote: > > lxc => 2.0.0rc4 > > lxd => 2.0.0rc4 > > lxcfs => 2.0.0rc6 > > > > After the latest upgrade to lxc/lxd tools existing and new containers fail > > to start, failing

Re: [lxc-users] Systemd support status

2016-03-19 Thread Albert Shih
Le 16/03/2016 à 18:50:16+0700, Fajar A. Nugraha a écrit > > I would like to know what is the status about lxc supporting inside the > > guest systemd. > > It works if you have the prequisite. And since ubuntu is shipping > lxc/lxd with ubuntu 16.04 (which uses systemd), they should support it >

Re: [lxc-users] Wildcard in lxd commands?

2016-03-19 Thread Janne Savikko
On 03/17/2016 01:03 AM, zzt...@openmailbox.org wrote: On 2016-03-16 11:12, Serge Hallyn wrote: Quoting zzt...@openmailbox.org (zzt...@openmailbox.org): Will wildcards be supported in lxd commands? For example, I'd like to do this: $ lxc info host:* or $ lxc info host:web* and get info

Re: [lxc-users] How to setup a static IP in a container with LX[C|D] 2.0.0.*

2016-03-19 Thread Sean McNamara
On Fri, Mar 18, 2016 at 11:43 AM, Stéphane Graber wrote: > Our stance hasn't changed. LXD doesn't know nor care about layer-3 > networking, all it does is setup your layer-2. > > Having LXD pre-initialize your network namespace confuses the heck out > of a bunch of distros

Re: [lxc-users] Limit file descriptors

2016-03-19 Thread Alan Hoffmeister
Thanks for the reply, I'm trying to allow root access to my containers so adjusting limits inside the rootfs isn't a good idea for me. -- Alan Hoffmeister https://twitter.com/alan_hoff https://github.com/alanhoff https://keybase.io/alanhoff 2016-03-18 3:08 GMT-03:00 Guido Jäkel