-
Notifications
You must be signed in to change notification settings - Fork 3
Containerization
stachu edited this page Mar 20, 2017
·
19 revisions
Both the host and container share the same kernel.
Engine responsible for providing the execution environment for application is called virtualization container.
Container's filesystem root location: /var/lib/lxc/<container name>
Container creation scripts/templates for given distro: /usr/share/lxc/templates
To verify if LXC is supported on current OS/kernel run: lxc-checkconfig
Debian may have some issues with memory control via cgroups.
Check kernel support: cat /boot/config-$(uname -r) | grep CONFIG_MEMCG
If output contains both CONFIG_MEMCG=y
and CONFIG_MEMCG_DISABLED=y
means that memory cgroups must be explicitly enabled by kernel parameter (cgroup_enable=memory
)
Bridge network on host OS.
LXC-based
- Modern Linux Administration - Sam R. Alapati
- https://wiki.debian.org/LXC
- https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/
- https://www.flockport.com/guides/
- General
- OS
- Networks
- Configuration
- Protocols
- Link layer
- Sockets
- Routing
- Tunneling
- Debugging
- LoRa
- Virtualization
- Infrastructure as a code
- Desktop environments
- Monitoring
- Benchmarking