Need advice about which tool to choose?Ask the StackShare community!

boot2docker

275
210
+ 1
95
libvirt

53
70
+ 1
17
Add tool

boot2docker vs libvirt: What are the differences?

Developers describe boot2docker as "Lightweight Linux for Docker". boot2docker is a lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. It runs completely from RAM, weighs ~27MB and boots in ~5s (YMMV). On the other hand, libvirt is detailed as "An open-source virtualization API". It is an open-source API, daemon and management tool for managing platform virtualization. It can be used to manage KVM, Xen, VMware ESXi, QEMU and other virtualization technologies.

boot2docker and libvirt can be categorized as "Virtual Machine Management" tools.

Some of the features offered by boot2docker are:

  • Kernel 3.14.1 with AUFS, Docker 0.10.1, LXC 0.8.0
  • Container persistence via disk automount on /var/lib/docker
  • SSH keys persistence via disk automount

On the other hand, libvirt provides the following key features:

  • manage virtualization platforms
  • accessible from C, Python, Perl, Java and more
  • supports KVM, QEMU, Xen, Virtuozzo, VMWare ESX, LXC, BHyve and more

boot2docker is an open source tool with 8.02K GitHub stars and 1.15K GitHub forks. Here's a link to boot2docker's open source repository on GitHub.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of boot2docker
Pros of libvirt
  • 43
    Lightweight
  • 35
    Use docker when it's not natively possible
  • 11
    Use it for fast demo without big image
  • 3
    Easy to use
  • 3
    Containers
  • 2
    Low overhead
  • 2
    Free
  • 2
    Built into most Linux distros
  • 2
    Fast
  • 2
    Native KVM and QEMU
  • 2
    Native hypervisor
  • 2
    Can fully manage via CLI or VirtManager
  • 2
    VirtIO direct hardware access
  • 1
    VirtIO direct hardware support

Sign up to add or upvote prosMake informed product decisions

- No public GitHub repository available -

What is boot2docker?

boot2docker is a lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. It runs completely from RAM, weighs ~27MB and boots in ~5s (YMMV).

What is libvirt?

It is an open-source API, daemon and management tool for managing platform virtualization. It can be used to manage KVM, Xen, VMware ESXi, QEMU and other virtualization technologies.

Need advice about which tool to choose?Ask the StackShare community!

What companies use boot2docker?
What companies use libvirt?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with boot2docker?
What tools integrate with libvirt?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

What are some alternatives to boot2docker and libvirt?
Docker Machine
Machine lets you create Docker hosts on your computer, on cloud providers, and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them.
Photon
The fastest way to build beautiful Electron apps using simple HTML and CSS. Underneath it all is Electron. Originally built for GitHub's Atom text editor, Electron is the easiest way to build cross-platform desktop applications.
Ubuntu
Ubuntu is an ancient African word meaning ‘humanity to others’. It also means ‘I am what I am because of who we all are’. The Ubuntu operating system brings the spirit of Ubuntu to the world of computers.
Docker
The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
RancherOS
It makes it simple to run containers at scale in development, test and production. By containerizing system services and leveraging Docker for management, the operating system provides a very reliable and easy to manage containers.
See all alternatives