License: Apache-2.0

Language: Python

Docker Compose

Docker Compose

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration. To learn more about all the features of Compose see the list of features.

Compose is great for development, testing, and staging environments, as well as CI workflows. You can learn more about each case in Common Use Cases.

Using Compose is basically a three-step process.

  1. Define your app's environment with a Dockerfile so it can be reproduced anywhere.
  2. Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment.
  3. Lastly, run docker-compose up and Compose will start and run your entire app.

A docker-compose.yml looks like this:

version: '2'

    build: .
     - "5000:5000"
     - .:/code
    image: redis

For more information about the Compose file, see the Compose file reference

Compose has commands for managing the whole lifecycle of your application:

  • Start, stop and rebuild services
  • View the status of running services
  • Stream the log output of running services
  • Run a one-off command on a service

Installation and documentation


Build Status

Want to help build Compose? Check out our contributing documentation.


Releases are built by maintainers, following an outline of the release process.

Project Statistics

Sourcerank 3
Repository Size 0 Bytes
Stars 0
Forks 0
Watchers 0
Open issues 1
Dependencies 38
Contributors 256
Tags 95
Last updated
Last pushed

Top Contributors See all

Aanand Prasad Joffrey F Daniel Nephin Ben Firshman Mazz Mosley Harald Albers Chris Corbyn Steve Durrheimer Sven Dowideit André Eriksson Dimitar Bonev Mark Steve Samson Evan Shaw Karol Duleba Christopher Grebs Stéphane Seguin garribas John Harris Jack Laxson Lukas Waslowski

Recent Tags See all

1.17.1 November 08, 2017
1.17.0 November 01, 2017
1.17.0-rc1 October 17, 2017
1.16.1 September 01, 2017
1.16.0 August 30, 2017
1.16.0-rc2 August 25, 2017
1.16.0-rc1 August 18, 2017
1.15.0 July 25, 2017
1.15.0-rc1 July 13, 2017
1.14.0 June 16, 2017
1.14.0-rc2 June 06, 2017
1.14.0-rc1 May 30, 2017
1.13.0 May 01, 2017
1.13.0-rc1 April 21, 2017
1.12.0 April 03, 2017

Something wrong with this page? Make a suggestion

Last synced: 2017-12-06 08:06:43 UTC

Login to resync this repository