Civil War: Docker vs LXD
OpenNebula Tech Day
May 23 2017
Timeline
Virtual Machines vs Containers
Virtual Machines
 OS Flexibility
 Better level of Isolation
 Configuration in boot time
Containers
So, which Technology do I have to use?
Docker
• 1200 Contributors
• 100.000 Applications
• About 4 Million users
• 300 Million downloads
Docker
• App
Encapsulation
• Lightweight
• Simple
• Community
Docker HUB
LXD
• Layer on top of LXC
• Better user
experience
• Runs other Linux
Distribution on ubuntu
host
LXD acts as a Virtual Machine
• Lightweight
• Density
• Resources Management
• Supports Migration
• Snapshots
LXD Resource limits
• Disk (ZFS & brtfs)
• CPU (Pinning, %CPU time, Specifiy CPU Time)
• Memory (Hard and Soft)
• Network I/O
• Block I/O
LXD Image Management
• 170 images available
• No public image repository
• Able to save your custom images in a private
repository
Docker vs LXD?
• VM alternative
• Multiple Process Container
• Operating System
• Online Resource Control
• IaaS
• App Encapsulation
• Single Process container
• Development
• HUB
• PaaS
OpenNebula Integration
• OneDock
• Docker Machine
• LXDoNe (Demo)
Future Improvements
• VNC Support
• Migrations
• Online resources
• Snapshots
Questions?
Xavier Peralta Ramos
xavier.peralta@csuc.cat
@xpr_85

Civil War: LXD vs Docker