Need advice about which tool to choose?Ask the StackShare community!
Clear Containers vs LXD: What are the differences?
Developers describe Clear Containers as "Use the isolation of virtual-machine technology along with the deployment benefits of containers". We set out to build Clear Containers by leveraging the isolation of virtual-machine technology along with the deployment benefits of containers. As part of this, we let go of the "generic PC hardware" notion traditionally associated with virtual machines; we're not going to pretend to be a standard PC that is compatible with just about any OS on the planet. On the other hand, LXD is detailed as "Daemon based on liblxc offering a REST API to manage containers". LXD isn't a rewrite of LXC, in fact it's building on top of LXC to provide a new, better user experience. Under the hood, LXD uses LXC through liblxc and its Go binding to create and manage the containers. It's basically an alternative to LXC's tools and distribution template system with the added features that come from being controllable over the network.
Clear Containers and LXD can be primarily classified as "Virtual Machine Platforms & Containers" tools.
Clear Containers and LXD are both open source tools. It seems that LXD with 2.28K GitHub stars and 531 forks on GitHub has more adoption than Clear Containers with 421 GitHub stars and 57 GitHub forks.
lxd/lxc and Docker aren't congruent so this comparison needs a more detailed look; but in short I can say: the lxd-integrated administration of storage including zfs with its snapshot capabilities as well as the system container (multi-process) approach of lxc vs. the limited single-process container approach of Docker is the main reason I chose lxd over Docker.
Pros of Clear Containers
Pros of LXD
- More simple10
- Open Source8
- API8
- Best8
- Cluster7
- Multiprocess isolation (not single)5
- Fast5
- I like the goal of the LXD and found it to work great5
- Full OS isolation4
- Container3
- More stateful than docker3
- Systemctl compatibility2