Linux Containers
From Bobs Projects
Revision as of 08:35, 1 August 2017 by Bob Edwards (Talk | contribs)
Linux Containers (LXC) is a form of OS-level virtualisation now native to the Linux kernel.
Contents |
Ubuntu
LXC in Ubuntu makes use of AppArmor to restrict container access to host services.
Enabling NFS mounts
(see How to enable bind mount inside lxc container)
Basically, add:
mount options=(rw, bind, ro),
to /etc/apparmor.d/lxc/lxc-default
Converting disk image to LXC
Some tips on converting a raw bootable disk image to a linux container
- remove all disk mounts from /etc/fstab (but need to keep even just a comment in /etc/fstab)
- for SSH to work, make sure that /dev/urandom exists (mknod dev/urandom c 1 9)
See also
External links
- lxc Linux Containers at sourceforge.net
- How to use Linux containers (lxc) under Debian Squeeze from Wallix Development team's blog
- LXC on the Debian Wiki
- A Five Minute Guide to Linux Containers for Debian
- Linux Container Tools at IBM developerworks
- LXC at Wikipedia
- LXC HOWTO at Teegra.net
- LXC Package in Ubuntu
- http://kb.haeringer.org/virtualization-on-arm-with-lxc/
- Getting Started with LXC on an Ubuntu 13.04 VPS from DigitalOcean
- LxcSecurity at ubunut.com
- LXC at gentoo.org
- How to setup virtual containers with LXC and quota support on Debian 8