Need advice about which tool to choose?Ask the StackShare community!
Cloud Foundry vs Docker: What are the differences?
What is Cloud Foundry? Deploy and scale applications in seconds on your choice of private or public cloud. Cloud Foundry is an open platform as a service (PaaS) that provides a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy, and scale applications.
What is 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.
Cloud Foundry can be classified as a tool in the "Platform as a Service" category, while Docker is grouped under "Virtual Machine Platforms & Containers".
Some of the features offered by Cloud Foundry are:
- Application and services centric lifecycle API
- High performance dynamic routing
- Buildpack support
On the other hand, Docker provides the following key features:
- Integrated developer tools
- open, portable images
- shareable, reusable apps
Cloud Foundry and Docker are both open source tools. Docker with 54K GitHub stars and 15.6K forks on GitHub appears to be more popular than Cloud Foundry with 605 GitHub stars and 532 GitHub forks.
According to the StackShare community, Docker has a broader approval, being mentioned in 3527 company stacks & 3449 developers stacks; compared to Cloud Foundry, which is listed in 8 company stacks and 13 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 Cloud Foundry
- Perfectly aligned with springboot2
- Free distributed tracing (zipkin)1
- Application health management1
- Free service discovery (Eureka)1
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
Sign up to add or upvote prosMake informed product decisions
Cons of Cloud Foundry
Cons of Docker
- New versions == broken features8
- Unreliable networking6
- Documentation not always in sync6
- Moves quickly4
- Not Secure3