Re: [lxc-users] idmap, lxd and pylxde

2017-01-25 Thread Witold Filipczyk
* Thanks for the reply, but must be some simpler method. In lxc configuration it was: lxc.id_map = u 0 20 65536 lxc.id_map = g 0 20 65536 How to express it in lxd and pylxd? > > Brian > > > > > From: Witold Filipczyk <gglate...@gmail.com> > > To: lxc-u

[lxc-users] idmap, lxd and pylxde

2017-01-25 Thread Witold Filipczyk
Sorry for dumb questions. /etc/subuid looks like this root:10:65536 root:20:65536 root:30:65536 and so on /etc/subgid the same I want to create lxd containers so they have separate set of uids. How to do it with lxd commands and with pylxd? I tried: uids = 20 config = {

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

2017-01-23 Thread Witold Filipczyk
On Sat, Mar 19, 2016 at 06:21:51AM +0700, Fajar A. Nugraha wrote: > On Fri, Mar 18, 2016 at 11:09 PM, Sean McNamara wrote: > > As part of that, I was expecting some way to tell LXD to restrict the > > IP addresses that can be claimed/used by a given container. For > > instance,

Re: [lxc-users] veth in unprivileged containers and proxy arp

2016-04-04 Thread Witold Filipczyk
On Mon, Apr 04, 2016 at 04:26:05PM +0700, Fajar A. Nugraha wrote: > On Mon, Apr 4, 2016 at 1:22 AM, Witold Filipczyk <gglate...@gmail.com> wrote: > > Hi, I don't know too much about lxc and networks. > > > > I've got some questions to > > https://lists.linuxcontai

[lxc-users] veth in unprivileged containers and proxy arp

2016-04-03 Thread Witold Filipczyk
Hi, I don't know too much about lxc and networks. I've got some questions to https://lists.linuxcontainers.org/pipermail/lxc-users/2015-February/008553.html There is a host with a few public IPs. sysctl.conf: net.ipv4.ip_forward=1 net.ipv4.conf.eth0.proxy_arp=1 For every IP something like this: