Re: [lxc-users] not allowed to change kernel parameters inside container

2019-05-25 Thread Sergiusz Pawlowicz
Use KVM and problem solved. S. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] docker in LXD from snap?

2019-03-14 Thread Sergiusz Pawlowicz
On Thu, 14 Mar 2019 at 16:55, Tomasz Chmielewski wrote: > > Is the following guide also relevant for running docker in LXD installed > from snap? > > https://stgraber.org/2016/04/13/lxd-2-0-docker-in-lxd-712/ yes, I am using docker - but container must be privileged for docker to run properly.

[lxc-users] newest snap 6729 does not start on bionic

2018-04-18 Thread Sergiusz Pawlowicz
newest snap 6729 does not start up lxd, linked current -> 6643 and everything is working well again i am not able to trace the problem, unfortunately ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org

Re: [lxc-users] How to get rid of pesky extra dhcp IP

2018-04-14 Thread Sergiusz Pawlowicz
it's not a bug, it is a feature man netplan ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] dynamic cgroup memory limit

2018-03-31 Thread Sergiusz Pawlowicz
On 31 March 2018 at 16:57, Tian-Jian Wu wrote: > please allow my silly question , how? > I know it's ok to set memory limit in config file and it's set to kernel > later. > But after container started how to change memory limit? What command? it is clearly described on:

Re: [lxc-users] dynamic cgroup memory limit

2018-03-30 Thread Sergiusz Pawlowicz
On 31 March 2018 at 06:48, Tian-Jian Wu wrote: > is it possible to start a container with set memory limit (let's say 1G in > this case) and set its memory limit value to another , for example, 500MB, > later?? Sure it is, you are able to modify these limits anytime live. S.

Re: [lxc-users] LXC 2.1 to be released on Tuesday (call for testing)

2017-09-25 Thread Sergiusz Pawlowicz
Hi, I'm getting: The configuration file contains legacy configuration keys. Please update your configuration file! but I do not see the update script inside the ubuntu xenial package: # find / -xdev -name lxc-update-config # # dpkg -l | grep lxd ii lxd

Re: [lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

2017-03-30 Thread Sergiusz Pawlowicz
On Thu, Mar 30, 2017 at 5:34 PM, Simos Xenitellis wrote: > Hi All, > > I just tried "lxc image list ubuntu:" and I do not see any 16.04 images. > (i.e. lxc launch ubuntu:x mycontainer fails). > > I attach the output of "lxc image list ubuntu:". > > I suppose it is a

Re: [lxc-users] cloud-init network config error

2017-03-15 Thread Sergiusz Pawlowicz
On Tue, Mar 14, 2017 at 8:49 PM, wrote: > #cloud-config.yml > network: > version: 1 > config: > - type: physical > name: eth0 > subnets: > - type: static > ipv4: true > address: 10.10.10.20 > netmask:

[lxc-users] [ error: sql: no rows in result set ]

2017-03-06 Thread Sergiusz Pawlowicz
Hi, how can I debug this? # lxc copy pcp ruszt:pcp error: sql: no rows in result set 1) nothing in logs in /var/log/lxd 2) lxc monitor –type=logging also shows nothing interesting driver: lxc driver_version: 2.0.7 kernel: Linux kernel_architecture: x86_64 kernel_version:

Re: [lxc-users] Debian 8 container on Ubuntu 16.04 host

2016-12-15 Thread Sergiusz Pawlowicz
On Fri, Dec 16, 2016 at 9:58 AM, William Cooley wrote: > Has anyone here tried running a Debian 8 container on a Ubuntu 16.04 host > and had success with making systemd work properly? There is absolutely no problem with that, these systems are nearly identical. S.

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Sergiusz Pawlowicz
> You'd need to set arc to be as small as possible: > # cat /etc/modprobe.d/zfs-arc-max.conf > options zfs zfs_arc_max=67108865 What is a sense of using ZFS if you don't use its cache? Non sense. it will work slower and less reliable than ext4. S. ___

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-02 Thread Sergiusz Pawlowicz
With 1GB of memory is is not recommended to use ZFS not BTRFS, especially via a disk image file. Just forget about it. S. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] LAN for LXD containers (with multiple LXD servers)?

2016-09-19 Thread Sergiusz Pawlowicz
On Mon, Sep 19, 2016 at 8:48 PM, brian mullan wrote: > Automatically builds tunnels through firewalls and NATs without any further > setup (for example, port forwarding). I would not appreciate something which "automatically" (whatever it means) traverse my firewalls, to

Re: [lxc-users] LAN for LXD containers (with multiple LXD servers)?

2016-09-18 Thread Sergiusz Pawlowicz
On Sun, Sep 18, 2016 at 7:11 PM, Tomasz Chmielewski <man...@wpkg.org> wrote: > On 2016-09-18 21:05, Sergiusz Pawlowicz wrote: >> >> On Sun, Sep 18, 2016 at 4:16 PM, Tomasz Chmielewski <man...@wpkg.org> >> wrote: >> >>> While I can imagine setting up

Re: [lxc-users] LAN for LXD containers (with multiple LXD servers)?

2016-09-18 Thread Sergiusz Pawlowicz
On Sun, Sep 18, 2016 at 4:16 PM, Tomasz Chmielewski wrote: > While I can imagine setting up many OpenVPN tunnels between all LXD servers I cannot imagine that :-) :-) Use tinc, mate. Your life begins :-) https://www.tinc-vpn.org/ cheers, Serge