Re: [lxc-users] bridged device's name

2018-08-20 Thread Fajar A. Nugraha
On Tue, Aug 21, 2018 at 8:40 AM, Mike Wright wrote: > Hi all, > > Is there a way to set a network device's host side name? > > e.g. with lxc style configs: > > #myContainer > lxc.net.0.type = veth > lxc.net.0.veth.pair = host-side-name > lxc.net.0.link = myBridge > > Are you asking the equivalen

[lxc-users] bridged device's name

2018-08-20 Thread Mike Wright
Hi all, Is there a way to set a network device's host side name? e.g. with lxc style configs: #myContainer lxc.net.0.type = veth lxc.net.0.veth.pair = host-side-name lxc.net.0.link = myBridge brctl show myBridge myBridge 8000.025134e8ffad no host-side-name so that this happens myB

Re: [lxc-users] lxd not starting dnsmasq

2018-08-20 Thread Stéphane Graber
On Mon, Aug 20, 2018 at 10:57:28AM -0700, Mike Wright wrote: > Hi all, > > My system is ubuntu bionic, kernel 4.15, lxd 3.2 (non-snap), fully upgraded. > > After starting LXD (systemctl start lxd.socket lxd) I can create containers > which get an eth0 that's defined in /etc/netplan/50-cloud-init.

[lxc-users] lxd not starting dnsmasq

2018-08-20 Thread Mike Wright
Hi all, My system is ubuntu bionic, kernel 4.15, lxd 3.2 (non-snap), fully upgraded. After starting LXD (systemctl start lxd.socket lxd) I can create containers which get an eth0 that's defined in /etc/netplan/50-cloud-init.yaml as dhcp but they don't pick up an address. Further investigatio

[lxc-users] how does lxc.cgroup.memory.limit_in_bytes affect buffer cache?

2018-08-20 Thread Harald Dunkel
Hi folks, AFAIU lxc.cgroup.memory.limit_in_bytes provides a limit for physical memory allocation within the container (text + heap + stack). This is not reserved memory. The containers don't have a private memory management. A container might run into swap memory, even though it has not reached t

Re: [lxc-users] LXD cluster is unresponsible: all lxc related commands hangs

2018-08-20 Thread Andriy Tovstik
Hi I stopped lxd via systemctl, then ran 'killlall lxd' and started lxd again. Problem was fixed. сб, 18 авг. 2018 г. в 17:50, Stéphane Graber : > Hi, > > Your logs show multiple LXD processes running at the same time. > The latest revision of the stable snap (8393) should have a fix which > dete

Re: [lxc-users] How can a non-root user assign unique UID/GID range for LXC unprivileged containers ??

2018-08-20 Thread Xavier Gendre
Hi Yasoda, only 10 ids is a bit short for a container. You should increase this number to cover at least the system ids 0-999. Depending on the distribution you run in your containers, you can be sharper and only involve the needed ids but they all have to be covered. Xavier Le 20/08/2018 à

Re: [lxc-users] How can a non-root user assign unique UID/GID range for LXC unprivileged containers ??

2018-08-20 Thread Yasoda Padala
Hi All, can someone please help me with the above query.. Thans & Regards, Yasoda On Fri, Aug 17, 2018 at 9:34 AM Yasoda Padala wrote: > Hi All, > I have created non-root user on my Ubuntu (16.04) machine who creates > unprivileged LXC containers. > My user's uid/gid on the host is 1000. > and