LXC and LXD: How They Differ From Docker and Virtual Machines

The article explains LXC, the Linux Containers system introduced in 2008 that uses kernel features like cgroups and namespaces to run isolated system environments. It describes how Canonical's LXD, released in 2015, builds on LXC with higher-level tools such as a REST API and network and disk management. The piece contrasts LXC's system-container model with Docker's focus on isolating single applications, noting that Docker originally used LXC before adopting its own runtime. It also compares LXC's speed and resource efficiency with traditional virtual machines, which offer fuller hardware emulation. Finally, it notes that LXD added virtual machine support using QEMU, and the author sets up the discussion for a planned Kubernetes cluster built with Terraform.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in