We are still actively working on the spam issue.

Home Server/LXC vs Docker

From InstallGentoo Wiki
Jump to: navigation, search

LXC and Docker are both Linux containerization systems, but take radically different approaches.

Full System Virtualization

LXC provides a full system virtualization, which means it includes the full OS, whereas Docker only packages the application and its dependencies. LXC behaves more like a traditional virtual machine, which can be beneficial for applications that require full OS functionality.

This is the main selling point of LXC. It's like a VM without the overhead.

Flexibility

LXC is more flexible in terms of the types of applications it can support. It can run any application that can run on a Linux server, whereas Docker is more suited to prepackaged applications.

Better for Legacy Applications

LXC is often a better choice for legacy applications that weren't designed with containerization in mind.

Persistent Storage

LXC makes it easier to manage persistent storage, which can be a complicated with Docker.

Learning Curve

LXC is often considered easier to learn and use than Docker, especially for those already familiar with Linux systems.