Need advice about which tool to choose?Ask the StackShare community!
Docker vs Laravel Homestead: What are the differences?
Developers describe Docker as "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. On the other hand, Laravel Homestead is detailed as "The official Laravel local development environment (Vagrant box)". Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 5.6, MySQL, Postgres, Redis, Memcached, and all of the other goodies you need to develop amazing Laravel applications.
Docker and Laravel Homestead are primarily classified as "Virtual Machine Platforms & Containers" and "Virtual Machine" tools respectively.
Some of the features offered by Docker are:
- Integrated developer tools
- open, portable images
- shareable, reusable apps
On the other hand, Laravel Homestead provides the following key features:
- Ubuntu 14.04
- PHP 5.6
- HHVM
"Rapid integration and build up" is the top reason why over 815 developers like Docker, while over 18 developers mention "Easy to setup" as the leading cause for choosing Laravel Homestead.
Docker and Laravel Homestead are both open source tools. It seems that Docker with 53.8K GitHub stars and 15.5K forks on GitHub has more adoption than Laravel Homestead with 3.11K GitHub stars and 1.32K GitHub forks.
According to the StackShare community, Docker has a broader approval, being mentioned in 3471 company stacks & 3324 developers stacks; compared to Laravel Homestead, which is listed in 20 company stacks and 24 developer stacks.
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.
Pros of Docker
- Rapid integration and build up824
- Isolation691
- Open source521
- Testability and reproducibility505
- Lightweight460
- Standardization218
- Scalable185
- Upgrading / downgrading / application versions106
- Security88
- Private paas environments85
- Portability34
- Limit resource usage26
- Game changer17
- I love the way docker has changed virtualization16
- Fast14
- Concurrency12
- Docker's Compose tools8
- Easy setup6
- Fast and Portable6
- Because its fun5
- Makes shipping to production very simple4
- It's dope3
- Highly useful3
- Simplicity, isolation, resource effective2
- MacOS support FAKE2
- Its cool2
- Super2
- Docker hub for the FTW2
- HIgh Throughput2
- Very easy to setup integrate and build2
- Package the environment with the application2
- Does a nice job hogging memory2
- Open source and highly configurable2
Pros of Laravel Homestead
- Easy to setup19
- Native enviroment13
- Cool if you finally get it set up 4 Win10 by night Devs1
Sign up to add or upvote prosMake informed product decisions
Cons of Docker
- New versions == broken features8
- Unreliable networking6
- Documentation not always in sync6
- Moves quickly4
- Not Secure3