Need advice about which tool to choose?Ask the StackShare community!

Compose

224
121
+ 1
206
Docker

177.1K
142.3K
+ 1
3.9K
Add tool

Compose vs Docker: What are the differences?

Compose: We host databases for busy devs: production-ready, cloud-hosted, open source. Compose makes it easy to spin up multiple open source databases with just one click. Deploy MongoDB for production, take Redis out for a performance test drive, or spin up RethinkDB in development before rolling it out to production; 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.

Compose can be classified as a tool in the "MongoDB Hosting" category, while Docker is grouped under "Virtual Machine Platforms & Containers".

Some of the features offered by Compose are:

  • One click, production-ready, cloud hosted MongoDB, Redis, Elasticsearch, PostgreSQL and RethinkDB, with additional databases in beta.

Every deployment features: database autoscaling based on data size usage - private VLAN, IP whitelisting, SSL, full-stack monitoring, custom alerts - HA and fault tolerance with automatic failover

On the other hand, Docker provides the following key features:

  • Integrated developer tools
  • open, portable images
  • shareable, reusable apps

"Simple to set up" is the primary reason why developers consider Compose over the competitors, whereas "Rapid integration and build up" was stated as the key factor in picking Docker.

Docker is an open source tool with 54K GitHub stars and 15.6K GitHub forks. Here's a link to Docker's open source repository on GitHub.

Spotify, Pinterest, and Twitter are some of the popular companies that use Docker, whereas Compose is used by Accenture, Artsy, and FashionUnited. Docker has a broader approval, being mentioned in 3527 company stacks & 3449 developers stacks; compared to Compose, which is listed in 82 company stacks and 19 developer stacks.

Decisions about Compose and Docker
Florian Sager
IT DevOp at Agitos GmbH · | 3 upvotes · 472.4K views
Chose
LXDLXD
over
DockerDocker

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.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Compose
Pros of Docker
  • 42
    Simple to set up
  • 32
    One-click mongodb
  • 29
    Automated Backups
  • 23
    Designed to scale
  • 21
    Easy interface
  • 13
    Fast and Simple
  • 10
    Real-Time Monitoring
  • 7
    Fastest MongoDB Available
  • 6
    Great Design
  • 6
    REST API
  • 4
    Easy to set up
  • 3
    Free for testing
  • 3
    Geospatial support
  • 2
    Elasticsearch
  • 2
    Heroku Add-on
  • 1
    Automated Health Checks
  • 1
    Email Support
  • 1
    Query Logs
  • 823
    Rapid integration and build up
  • 692
    Isolation
  • 521
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 460
    Lightweight
  • 218
    Standardization
  • 185
    Scalable
  • 106
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 88
    Security
  • 85
    Private paas environments
  • 34
    Portability
  • 26
    Limit resource usage
  • 17
    Game changer
  • 16
    I love the way docker has changed virtualization
  • 14
    Fast
  • 12
    Concurrency
  • 8
    Docker's Compose tools
  • 6
    Easy setup
  • 6
    Fast and Portable
  • 5
    Because its fun
  • 4
    Makes shipping to production very simple
  • 3
    Highly useful
  • 3
    It's dope
  • 2
    Package the environment with the application
  • 2
    Super
  • 2
    Open source and highly configurable
  • 2
    Simplicity, isolation, resource effective
  • 2
    MacOS support FAKE
  • 2
    Its cool
  • 2
    Does a nice job hogging memory
  • 2
    Docker hub for the FTW
  • 2
    HIgh Throughput
  • 2
    Very easy to setup integrate and build
  • 0
    Asdfd

Sign up to add or upvote prosMake informed product decisions

Cons of Compose
Cons of Docker
    Be the first to leave a con
    • 8
      New versions == broken features
    • 6
      Unreliable networking
    • 6
      Documentation not always in sync
    • 4
      Moves quickly
    • 3
      Not Secure

    Sign up to add or upvote consMake informed product decisions

    What is Compose?

    Compose makes it easy to spin up multiple open source databases with just one click. Deploy MongoDB for production, take Redis out for a performance test drive, or spin up RethinkDB in development before rolling it out to production.

    What is Docker?

    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

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Compose?
    What companies use Docker?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Compose?
    What tools integrate with Docker?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    PythonDockerKubernetes+7
    3
    1203
    PythonDockerKubernetes+14
    12
    2698
    Jul 9 2019 at 7:22PM

    Blue Medora

    DockerPostgreSQLNew Relic+8
    11
    2424
    DockerAmazon EC2Scala+8
    6
    2813
    GitHubDockerReact+17
    42
    38056
    What are some alternatives to Compose and Docker?
    Docker Compose
    With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
    Composer
    It is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
    Kubernetes
    Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
    Docker Swarm
    Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.
    Elementor
    Create beautiful websites using a simple, intuitive drag and drop Interface.It offers pixel perfect design, yet produces 100% clean code. Take your design vision and turn it into a stunning custom-made website. It's fast and easy.
    See all alternatives