1. LXC :
LXC is an abbreviation used for Linux Containers which is an operating system that is used for running multiple Linux systems virtually on a controlled host via a single Linux kernel. LXC bundles with the kernel’s Cgroups to provide the functionality for the process and network space instead of creating a full virtual machine and provides an isolated environment for the applications.
Features provided by LXC :
- It provides Kernel namespaces such as IPC, mount, PID, network, and user.
- It provides Kernel capabilities.
- Control groups (Cgroups).
- Seccomp profiles
2. Docker :
Docker is an open-source tool for the creation, deployment, and working of applications on a centralized platform. This makes the host’s operating system to run the applications with the same Linux kernel through containers rather than creating a whole virtual machine. Using docker containers you don’t need to take care of the Ram and disk space allocation. It is capable to handle the requirements on its own.
Features provided by Docker :
- Docker is Fast and Easy configurable.
- Technical feasibility and increased productivity.
- Secure services through commands like secret inspect and secret create, etc.
- Provides application isolation and no container is dependent on any other.
Difference between LXC and Docker :
|Developed by||LXC was created by IBM, Virtuozzo, Google and Eric Biederman.||Docker was created by Solomon Hykes in 2003.|
|Data Retrieval||LXC does not support data retrieval after it is processed.||Data retrieval is supported in Docker.|
|Usability||It is a multi-purpose solution for virtualization.||It is single purpose solution.|
|Platform||LXC is supported only on Linux platform.||Docker is platform dependent.|
|Virtualization||LXC provides us full system virtualization.||Docker provides application virtualization.|
|Cloud support||There is no need for cloud storage as Linux provides each feature.||The need of cloud storage is required for a sizeable ecosystem.|
|Popularity||Due to some constraints LXC is not much popular among the developers.||Docker is popular due to containers and it took containers to a next level.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Linux Virtualization : Linux Containers (lxc)
- Virtualisation with Docker Containers
- Difference between Virtual Machines and Containers
- Difference between Docker Image and Container
- Difference between Kubernetes and Docker Swarm
- Sequence vs Associative containers in C++
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
- Difference between Yaacomo and and XAP
- Difference between VoIP and and POTS
- Difference and Similarities between PHP and C
- Difference between Time Tracking and Time and Attendance Software
- Difference Between Single and Double Quotes in Shell Script and Linux
- Difference between ++*p, *p++ and *++p
- Difference Between DOS and Windows
- Difference between User Level thread and Kernel Level thread
- What’s difference between The Internet and The Web ?
- Difference between Priority Inversion and Priority Inheritance
- What’s difference between Linux and Android ?
- What’s difference between header files "stdio.h" and "stdlib.h" ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.