Need advice about which tool to choose?Ask the StackShare community!
boot2docker vs Docker Machine: What are the differences?
Developers describe boot2docker as "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). On the other hand, Docker Machine is detailed as "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.
boot2docker and Docker Machine are primarily classified as "Virtual Machine Management" and "Container" tools respectively.
"Lightweight" is the primary reason why developers consider boot2docker over the competitors, whereas "Easy docker hosts management" was stated as the key factor in picking Docker Machine.
boot2docker and Docker Machine are both open source tools. It seems that boot2docker with 7.96K GitHub stars and 1.13K forks on GitHub has more adoption than Docker Machine with 5.37K GitHub stars and 1.55K GitHub forks.
Docker, Weebly, and Essess are some of the popular companies that use boot2docker, whereas Docker Machine is used by Docker, Leftronic, and DNT. boot2docker has a broader approval, being mentioned in 70 company stacks & 31 developers stacks; compared to Docker Machine, which is listed in 43 company stacks and 46 developer stacks.
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 Machine
- Easy docker hosts management12