Need advice about which tool to choose?Ask the StackShare community!
boot2docker vs Docker: What are the differences?
boot2docker: Lightweight Linux for Docker. 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: 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.
boot2docker can be classified as a tool in the "Virtual Machine Management" category, while Docker is grouped under "Virtual Machine Platforms & Containers".
Some of the features offered by boot2docker are:
- Kernel 3.14.1 with AUFS, Docker 0.10.1, LXC 0.8.0
- Container persistence via disk automount on /var/lib/docker
- SSH keys persistence via disk automount
On the other hand, Docker provides the following key features:
- Integrated developer tools
- open, portable images
- shareable, reusable apps
"Lightweight" is the top reason why over 42 developers like boot2docker, while over 816 developers mention "Rapid integration and build up" as the leading cause for choosing Docker.
boot2docker and Docker are both open source tools. It seems that Docker with 54K GitHub stars and 15.6K forks on GitHub has more adoption than boot2docker with 7.99K GitHub stars and 1.14K GitHub forks.
Spotify, Pinterest, and Twitter are some of the popular companies that use Docker, whereas boot2docker is used by Typeform, Docker, and Weebly. Docker has a broader approval, being mentioned in 3524 company stacks & 3443 developers stacks; compared to boot2docker, which is listed in 70 company stacks and 30 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 boot2docker
- Lightweight43
- Use docker when it's not natively possible35
- Use it for fast demo without big image11
- Easy to use3
- Containers3
Pros of Docker
- Rapid integration and build up823
- Isolation692
- 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
- Fast and Portable6
- Easy setup6
- Because its fun5
- Makes shipping to production very simple4
- It's dope3
- Highly useful3
- Does a nice job hogging memory2
- Open source and highly configurable2
- Simplicity, isolation, resource effective2
- MacOS support FAKE2
- Its cool2
- Docker hub for the FTW2
- HIgh Throughput2
- Very easy to setup integrate and build2
- Package the environment with the application2
- Super2
- Asdfd0
Sign up to add or upvote prosMake informed product decisions
Cons of boot2docker
Cons of Docker
- New versions == broken features8
- Unreliable networking6
- Documentation not always in sync6
- Moves quickly4
- Not Secure3