Need advice about which tool to choose?Ask the StackShare community!
Rancher vs Vagrant: What are the differences?
Rancher: Open Source Platform for Running a Private Container Service. Rancher is an open source container management platform that includes full distributions of Kubernetes, Apache Mesos and Docker Swarm, and makes it simple to operate container clusters on any cloud or infrastructure platform; 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.
Rancher and Vagrant are primarily classified as "Container" and "Virtual Machine Management" tools respectively.
Some of the features offered by Rancher are:
- Manage Hosts, Deploy Containers, Monitor Resources
- User Management & Collaboration
- Native Docker APIs & Tools
On the other hand, Vagrant provides the following key features:
- Boxes
- Up And SSH
- Synced Folders
"Easy to use", "Open source and totally free" and "Multi-host docker-compose support" are the key factors why developers consider Rancher; whereas "Development environments", "Simple bootstraping" and "Free" are the primary reasons why Vagrant is favored.
Rancher 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 Rancher with 11.9K GitHub stars and 1.34K GitHub forks.
Airbnb, Shopify, and Coursera are some of the popular companies that use Vagrant, whereas Rancher is used by Redox Engine, Packet, and VCCloud. Vagrant has a broader approval, being mentioned in 802 company stacks & 478 developers stacks; compared to Rancher, which is listed in 89 company stacks and 35 developer stacks.
Pros of Rancher
- Easy to use103
- Open source and totally free79
- Multi-host docker-compose support63
- Load balancing and health check included58
- Simple58
- Rolling upgrades, green/blue upgrades feature44
- Dns and service discovery out-of-the-box42
- Only requires docker37
- Multitenant and permission management34
- Easy to use and feature rich29
- Cross cloud compatible11
- Does everything needed for a docker infrastructure11
- Simple and powerful8
- Next-gen platform8
- Very Docker-friendly7
- Support Kubernetes and Swarm6
- Application catalogs with stack templates (wizards)6
- Supports Apache Mesos, Docker Swarm, and Kubernetes6
- Rolling and blue/green upgrades deployments6
- High Availability service: keeps your app up 24/76
- Easy to use service catalog5
- Very intuitive UI4
- IaaS-vendor independent, supports hybrid/multi-cloud4
- Awesome support4
- Scalable3
- Requires less infrastructure requirements2
Pros of Vagrant
- Development environments352
- Simple bootstraping290
- Free237
- Boxes139
- Provisioning130
- Portable84
- Synced folders81
- Reproducible69
- Ssh51
- Very flexible44
- Works well, can be replicated easily with other devs5
- Easy-to-share, easy-to-version dev configuration5
- Great3
- Just works3
- Quick way to get running2
- DRY - "Do Not Repeat Yourself"1
- Container Friendly1
- What is vagrant?1
- Good documentation1
Sign up to add or upvote prosMake informed product decisions
Cons of Rancher
- Hosting Rancher can be complicated10
Cons of Vagrant
- Can become v complex w prod. provisioner (Salt, etc.)2
- Multiple VMs quickly eat up disk space2
- Development environment that kills your battery1