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

Docker Machine

430
502
+ 1
12
Vagrant

9.3K
6.8K
+ 1
1.5K
Add tool

Docker Machine vs Vagrant: What are the differences?

What is Docker Machine? Machine management for a container-centric world. 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.

What is Vagrant? A tool for building and distributing development environments. 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.

Docker Machine and Vagrant are primarily classified as "Container" and "Virtual Machine Management" tools respectively.

"Easy docker hosts management" is the top reason why over 12 developers like Docker Machine, while over 354 developers mention "Development environments" as the leading cause for choosing Vagrant.

Docker Machine and Vagrant are both open source tools. Vagrant with 18.6K GitHub stars and 3.74K forks on GitHub appears to be more popular than Docker Machine with 5.37K GitHub stars and 1.55K GitHub forks.

Shopify, SendGrid, and Starbucks are some of the popular companies that use Vagrant, whereas Docker Machine is used by Leftronic, Docker, and DNT. Vagrant has a broader approval, being mentioned in 802 company stacks & 475 developers stacks; compared to Docker Machine, which is listed in 43 company stacks and 46 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Docker Machine
Pros of Vagrant
  • 12
    Easy docker hosts management
  • 352
    Development environments
  • 290
    Simple bootstraping
  • 238
    Free
  • 139
    Boxes
  • 130
    Provisioning
  • 84
    Portable
  • 81
    Synced folders
  • 69
    Reproducible
  • 51
    Ssh
  • 44
    Very flexible
  • 5
    Works well, can be replicated easily with other devs
  • 5
    Easy-to-share, easy-to-version dev configuration
  • 3
    Great
  • 2
    Quick way to get running
  • 2
    Just works
  • 1
    What is vagrant?
  • 1
    Container Friendly
  • 1
    DRY - "Do Not Repeat Yourself"
  • 1
    Good documentation

Sign up to add or upvote prosMake informed product decisions

Cons of Docker Machine
Cons of Vagrant
    Be the first to leave a con
    • 2
      Can become v complex w prod. provisioner (Salt, etc.)
    • 2
      Multiple VMs quickly eat up disk space
    • 1
      Development environment that kills your battery

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

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

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

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

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

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

    What tools integrate with Docker Machine?
    What tools integrate with Vagrant?

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

    What are some alternatives to Docker Machine and Vagrant?
    Docker Compose
    With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
    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).
    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
    Ansible
    Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use.
    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.
    See all alternatives