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

Docker

170K
136.7K
+ 1
3.9K
Qemu

95
126
+ 1
3
Add tool

Docker vs Qemu: What are the differences?

Docker is a platform for developing, shipping, and running applications in containers, providing lightweight and portable environments, while Qemu is an open-source emulator that allows users to run operating systems and virtual machines on various host platforms. Let's explore the key differences between them.

  1. Architecture: Docker uses a containerization approach, where multiple containers can run on a single host operating system. Qemu, on the other hand, is a full-system emulator that provides hardware virtualization, allowing different operating systems to run simultaneously.

  2. Performance: Docker containers are lightweight and share the host OS kernel, resulting in faster startup times and lower resource usage compared to Qemu virtual machines, which require full OS emulation.

  3. Isolation: Docker provides process-level isolation, meaning that containers share resources but are isolated at the process level. Qemu, on the other hand, provides full isolation between virtual machines, allowing each VM to have its own resources and kernel.

  4. Compatibility: Docker relies on the host OS kernel, making it more compatible with a wider range of operating systems and applications. Qemu, on the other hand, can emulate different hardware architectures, making it more suitable for running operating systems that are not supported natively on the host system.

  5. Deployment: Docker containers are highly portable and can be easily deployed across different environments, whether it's on-premises or in the cloud. Qemu virtual machines are more suitable for running guest operating systems on a specific host, making them less portable.

  6. Resource Usage: Docker containers share the host's operating system and resources, resulting in more efficient resource utilization compared to Qemu virtual machines, which require dedicated resources for each VM.

In summary, Docker simplifies the process of containerization, enabling developers to package applications and their dependencies into isolated environments for deployment across different systems with ease. On the other hand, Qemu offers a versatile emulation solution for running virtual machines, providing flexibility for testing and development purposes across a range of hardware architectures and operating systems.

Decisions about Docker and Qemu
Florian Sager
IT DevOp at Agitos GmbH · | 3 upvotes · 411.4K views
Chose
LXDLXD
over
DockerDocker

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.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Docker
Pros of Qemu
  • 823
    Rapid integration and build up
  • 691
    Isolation
  • 521
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 460
    Lightweight
  • 218
    Standardization
  • 185
    Scalable
  • 106
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 88
    Security
  • 85
    Private paas environments
  • 34
    Portability
  • 26
    Limit resource usage
  • 17
    Game changer
  • 16
    I love the way docker has changed virtualization
  • 14
    Fast
  • 12
    Concurrency
  • 8
    Docker's Compose tools
  • 6
    Easy setup
  • 6
    Fast and Portable
  • 5
    Because its fun
  • 4
    Makes shipping to production very simple
  • 3
    Highly useful
  • 3
    It's dope
  • 2
    Very easy to setup integrate and build
  • 2
    HIgh Throughput
  • 2
    Package the environment with the application
  • 2
    Does a nice job hogging memory
  • 2
    Open source and highly configurable
  • 2
    Simplicity, isolation, resource effective
  • 2
    MacOS support FAKE
  • 2
    Its cool
  • 2
    Docker hub for the FTW
  • 2
    Super
  • 0
    Asdfd
  • 1
    Performance
  • 1
    Easy to use
  • 1
    Free

Sign up to add or upvote prosMake informed product decisions

Cons of Docker
Cons of Qemu
  • 8
    New versions == broken features
  • 6
    Unreliable networking
  • 6
    Documentation not always in sync
  • 4
    Moves quickly
  • 3
    Not Secure
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    What is 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

    What is Qemu?

    When used as a machine emulator, it can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performance. When used as a virtualizer, it achieves near native performance by executing the guest code directly on the host CPU. it supports virtualization when executing under the Xen hypervisor or using the KVM kernel module in Linux. When using KVM, it can virtualize x86, server and embedded PowerPC, 64-bit POWER, S390, 32-bit and 64-bit ARM, and MIPS guests.

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

    What companies use Docker?
    What companies use Qemu?
    See which teams inside your own company are using Docker or Qemu.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Docker?
    What tools integrate with Qemu?

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

    Blog Posts

    PythonDockerKubernetes+7
    3
    1102
    PythonDockerKubernetes+14
    12
    2605
    Jul 9 2019 at 7:22PM

    Blue Medora

    DockerPostgreSQLNew Relic+8
    11
    2337
    DockerAmazon EC2Scala+8
    6
    2710
    GitHubDockerReact+17
    40
    36278
    What are some alternatives to Docker and Qemu?
    LXC
    LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
    rkt
    Rocket is a cli for running App Containers. The goal of rocket is to be composable, secure, and fast.
    Kubernetes
    Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
    Cloud Foundry
    Cloud Foundry is an open platform as a service (PaaS) that provides a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy, and scale applications.
    Vagrant
    Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.
    See all alternatives