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

Docker

115.2K
91.6K
+ 1
3.8K
VirtualBox

22.9K
18K
+ 1
1.1K
Add tool

Docker vs VirtualBox: What are the differences?

Docker: Enterprise Container Platform for High-Velocity Innovation. 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; VirtualBox: Run nearly any operating system on a single machine and to freely switch between OS instances running simultaneously. VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2.

Docker can be classified as a tool in the "Virtual Machine Platforms & Containers" category, while VirtualBox is grouped under "Virtualization Platform".

Some of the features offered by Docker are:

  • Integrated developer tools
  • open, portable images
  • shareable, reusable apps

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

  • Portability
  • No hardware virtualization required
  • Guest Additions: shared folders, seamless windows, 3D virtualization

"Rapid integration and build up", "Isolation" and "Open source" are the key factors why developers consider Docker; whereas "Free", "Easy" and "Default for vagrant" are the primary reasons why VirtualBox is favored.

Docker is an open source tool with 53.8K GitHub stars and 15.5K GitHub forks. Here's a link to Docker's open source repository on GitHub.

According to the StackShare community, Docker has a broader approval, being mentioned in 3471 company stacks & 3322 developers stacks; compared to VirtualBox, which is listed in 721 company stacks and 943 developer stacks.

Decisions about Docker and VirtualBox
Florian Sager
IT DevOp at Agitos GmbH · | 2 upvotes · 209.1K 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 Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Docker
Pros of VirtualBox
  • 821
    Rapid integration and build up
  • 688
    Isolation
  • 517
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 459
    Lightweight
  • 217
    Standardization
  • 182
    Scalable
  • 105
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 86
    Security
  • 84
    Private paas environments
  • 33
    Portability
  • 25
    Limit resource usage
  • 15
    I love the way docker has changed virtualization
  • 15
    Game changer
  • 12
    Fast
  • 11
    Concurrency
  • 7
    Docker's Compose tools
  • 4
    Fast and Portable
  • 4
    Easy setup
  • 4
    Because its fun
  • 3
    Makes shipping to production very simple
  • 2
    It's dope
  • 1
    Highly useful
  • 1
    MacOS support FAKE
  • 1
    Its cool
  • 1
    Docker hub for the FTW
  • 1
    Very easy to setup integrate and build
  • 1
    Package the environment with the application
  • 1
    Does a nice job hogging memory
  • 1
    Open source and highly configurable
  • 1
    Simplicity, isolation, resource effective
  • 359
    Free
  • 231
    Easy
  • 169
    Default for vagrant
  • 110
    Fast
  • 73
    Starts quickly
  • 45
    Open-source
  • 42
    Running in background
  • 41
    Simple, yet comprehensive
  • 27
    Default for boot2docker
  • 21
    Extensive customization
  • 2
    Free to use
  • 1
    Cross-platform
  • 1
    Mouse integration
  • 1
    Easy tool

Sign up to add or upvote prosMake informed product decisions

Cons of Docker
Cons of VirtualBox
  • 7
    New versions == broken features
  • 5
    Documentation not always in sync
  • 5
    Unreliable networking
  • 3
    Moves quickly
  • 2
    Not Secure
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    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 VirtualBox?

    VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2.

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

    What companies use Docker?
    What companies use VirtualBox?
    See which teams inside your own company are using Docker or VirtualBox.
    Sign up for Private StackShareLearn More

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

    What tools integrate with Docker?
    What tools integrate with VirtualBox?

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

    Blog Posts

    PythonDockerKubernetes+7
    3
    696
    PythonDockerKubernetes+14
    11
    2110
    Jul 9 2019 at 7:22PM

    Blue Medora

    DockerPostgreSQLNew Relic+8
    11
    1798
    DockerAmazon EC2Scala+8
    6
    2234
    GitHubDockerReact+17
    34
    30378
    What are some alternatives to Docker and VirtualBox?
    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