Lesson 1
15 min
Free Preview
Introduction to LXC/LXD
Understanding system containers and how they differ from application containers.
What are System Containers?
LXC (Linux Containers) provides operating system-level virtualization. Unlike Docker (application containers), LXC containers run a full init system and behave like lightweight VMs.
LXC vs LXD
- LXC - The low-level container runtime (liblxc)
- LXD - The modern container manager built on LXC, providing REST API, clustering, and image management
Why LXC/LXD?
- Run multiple services in one container
- Full systemd support
- Persistent containers (not ephemeral)
- Easy migration between hosts
- Familiar VM-like experience
Use Cases
- Development sandboxes (like Ginto AI!)
- CI/CD build environments
- Multi-tenant hosting
- Legacy application migration