New answers tagged

0

Call me lazy - but why mess around with the config files if you could (bind) mount your large directory at /var/lib/lxc? Simply shutdown your containers, move things over to /home/lxc/whatever and bind-mount them back in - done!


0

So I ran into the same problem when trying to get LXC unpriviliged containers working on CentOS 7. I didn't want to use cgmanager because I don't like introducing any additional services if not absolutely required. What I ended up doing instead is patching systemd using some patches from the ubuntu package and one custom patch to expand the list of cgroup ...


0

If you want to add a package, edit: /usr/share/lxc/templates/lxc-debian and search for download_debian(). Add your package to that section along with the other packages (I see ifupdown, locales, etc). If you make changes to the package list, you will need to clear the cache. I do that by doing: rm -rf /var/cache/lxc/debian/ Of course the next container ...


2

No. debian template for lxc-create internally uses debootstrap which certainly verifies downloaded packages against release signatures in the repository just like apt.


1

To disable access to /proc/kcore: lxc.cap.drop = sys_rawio To disable access to dmesg load following file using lxc.seccomp option: 2 blacklist [all] syslog errno 1 Works fine for me on LXC-1.0.6, kernel 4.3.0.


2

This image can help you to understand the main difference between them: What all of them have in common, is that all these 3 technologies are related to containers. Containers are a lightweight virtualization mechanism that does not require you to set up a virtual machine on an emulation of physical hardware. In Linux, they have in common the Kernel ...


0

No, LXC, Docker, and LXD, are not quite the same. In short: LXC LinuX Containers (LXC) is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host (LXC host) https://wiki.archlinux.org/index.php/Linux_Containers low level ... https://linuxcontainers.org/ Docker by ...



Top 50 recent answers are included