Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

LXD Container Hypervisor

626 views

Published on

LXD is a container "hypervisor" and a new user experience for LXC.
The daemon exports a REST API both locally and if enabled, over the network.
The command line tool is designed to be a very simple, yet very powerful tool to manage all your containers. It can handle connect to multiple container hosts and easily give you an overview of all the containers on your network, let you create some more where you want them and even move them around while they're running.

Published in: Technology
  • Be the first to comment

LXD Container Hypervisor

  1. 1. LXD Container Hypervisor Danial Behzadi dani.behzi@ubuntu.com
  2. 2. 2016 LXD Container Hypervisor 2 Hypervisor
  3. 3. 2016 LXD Container Hypervisor 3 Container
  4. 4. 2016 LXD Container Hypervisor 4 LXC ● The Linux Container ● Kernel feature since 2008 ● makes chroot available ● Apparmor and SELinux aware ● liblxc library with bindings in Python & Lua ● A set of standard tools for control
  5. 5. 2016 LXD Container Hypervisor 5 LXD over LXC ● Plain LXC ● Secure by default ● Simpler and less confusing tools ● Rely on container images ● Checkpoint and restore support ● No drastic change
  6. 6. 2016 LXD Container Hypervisor 6 LXD vs. Docker LXD docker Machine Management Software Distribution Doesn’t care about content Cares about what is running Can host docker instances Can use LXD for goods Share underlying kernel capabilities
  7. 7. 2016 LXD Container Hypervisor 7 Main LXD components ● Containers ● Snapshots ● Images ● Profiles ● Remotes
  8. 8. 2016 LXD Container Hypervisor 8 LXD Containers ● Filesystem ● List of configuration options ● Devices ● Set of profiles ● Properties ● Runtime states
  9. 9. 2016 LXD Container Hypervisor 9 LXD Snapshots ● A copy of containers ● Immutable ● Can be renamed, destroyed or restored ● Stateful ● Ability to rollback ● Includes CPU and memory state
  10. 10. 2016 LXD Container Hypervisor 10 LXD Images ● Clean GNU/Linux distributions ● Ability to publish ● Identified by SHA256 hash ● Can have properties applied to ● Cached and kept for a number of days ● Automatically updates
  11. 11. 2016 LXD Container Hypervisor 11 LXD Profiles ● Defines configs and devices ● Multiple applicable ● Applied by order ● Override ancestors ● Default: defines eth0 ● Docker: container nesting
  12. 12. 2016 LXD Container Hypervisor 12 LXD Remotes ● Local ● Ubuntu ● Ubuntu-daily ● Images ● … ● Your own remote
  13. 13. 2016 LXD Container Hypervisor 13 A case study story…
  14. 14. 2016 LXD Container Hypervisor 14 Thanks!

×