docker-compose 1.29.2


pip install docker-compose

  Latest version

Released: May 10, 2021


Meta
Author: Docker, Inc.
Requires Python: >=3.4

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License

Programming Language
  • Python :: 3
  • Python :: 3.4
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9

Docker Compose

Build Status

Docker Compose

Docker Compose is a tool for running multi-container applications on Docker defined using the Compose file format. A Compose file is used to define how the one or more containers that make up your application are configured. Once you have a Compose file, you can create and start your application with a single command: docker-compose up.

Compose files can be used to deploy applications locally, or to the cloud on Amazon ECS or Microsoft ACI using the Docker CLI. You can read more about how to do this:

Where to get Docker Compose

Windows and macOS

Docker Compose is included in Docker Desktop for Windows and macOS.

Linux

You can download Docker Compose binaries from the release page on this repository.

Using pip

If your platform is not supported, you can download Docker Compose using pip:

pip install docker-compose

Note: Docker Compose requires Python 3.6 or later.

Quick Start

Using Docker 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 Compose file looks like this:

services:
  web:
    build: .
    ports:
      - "5000:5000"
    volumes:
      - .:/code
  redis:
    image: redis

You can find examples of Compose applications in our Awesome Compose repository.

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

Contributing

Want to help develop Docker Compose? Check out our contributing documentation.

If you find an issue, please report it on the issue tracker.

Releasing

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

1.29.2 May 10, 2021
1.29.1 Apr 14, 2021
1.29.0 Apr 06, 2021
1.28.6 Mar 23, 2021
1.28.5 Feb 26, 2021
1.28.4 Feb 18, 2021
1.28.3 Feb 17, 2021
1.28.2 Jan 26, 2021
1.28.0 Jan 20, 2021
1.28.0rc3 Jan 12, 2021
1.28.0rc2 Jan 04, 2021
1.28.0rc1 Dec 07, 2020
1.27.4 Sep 24, 2020
1.27.3 Sep 16, 2020
1.27.2 Sep 10, 2020
1.27.1 Sep 10, 2020
1.27.0 Sep 07, 2020
1.27.0rc4 Sep 07, 2020
1.27.0rc3 Sep 03, 2020
1.27.0rc2 Aug 21, 2020
1.27.0rc1 Aug 11, 2020
1.26.2 Jul 02, 2020
1.26.1 Jun 30, 2020
1.26.0 Jun 03, 2020
1.26.0rc5 Jun 03, 2020
1.26.0rc4 Apr 29, 2020
1.26.0rc3 Mar 10, 2020
1.26.0rc1 Feb 24, 2020
1.26.0.dev0 Jan 09, 2020
1.25.5 Apr 10, 2020
1.25.5rc1 Apr 09, 2020
1.25.4 Feb 03, 2020
1.25.4rc2 Jan 31, 2020
1.25.4rc1 Jan 30, 2020
1.25.3 Jan 23, 2020
1.25.2 Jan 20, 2020
1.25.2rc2 Jan 20, 2020
1.25.2rc1 Jan 17, 2020
1.25.1 Jan 07, 2020
1.25.1rc1 Nov 29, 2019
1.25.0 Nov 18, 2019
1.25.0rc4 Oct 28, 2019
1.25.0rc3 Oct 28, 2019
1.25.0rc2 Aug 07, 2019
1.25.0rc1 May 23, 2019
1.24.1 Jun 24, 2019
1.24.0 Mar 28, 2019
1.24.0rc3 Mar 22, 2019
1.24.0rc1 Jan 14, 2019
1.23.2 Nov 28, 2018
1.23.1 Nov 01, 2018
1.23.0 Oct 30, 2018
1.23.0rc3 Oct 17, 2018
1.23.0rc2 Oct 08, 2018
1.23.0rc1 Sep 26, 2018
1.22.0 Jul 17, 2018
1.22.0rc2 Jul 05, 2018
1.22.0rc1 Jun 21, 2018
1.21.2 May 02, 2018
1.21.1 Apr 27, 2018
1.21.0 Apr 10, 2018
1.21.0rc1 Apr 02, 2018
1.20.1 Mar 21, 2018
1.20.0 Mar 20, 2018
1.20.0rc2 Mar 12, 2018
1.20.0rc1 Feb 27, 2018
1.19.0 Feb 07, 2018
1.19.0rc3 Feb 01, 2018
1.19.0rc2 Jan 26, 2018
1.19.0rc1 Jan 25, 2018
1.18.0 Dec 18, 2017
1.18.0rc2 Dec 09, 2017
1.18.0rc1 Dec 07, 2017
1.17.1 Nov 09, 2017
1.17.0 Nov 02, 2017
1.17.0rc1 Oct 18, 2017
1.16.1 Sep 01, 2017
1.16.0 Aug 31, 2017
1.16.0rc2 Aug 28, 2017
1.16.0rc1 Aug 21, 2017
1.15.0 Jul 26, 2017
1.15.0rc1 Jul 14, 2017
1.14.0 Jun 19, 2017
1.14.0rc2 Jun 06, 2017
1.14.0rc1 May 30, 2017
1.13.0 May 02, 2017
1.13.0rc1 Apr 24, 2017
1.12.0 Apr 05, 2017
1.12.0rc2 Mar 27, 2017
1.12.0rc1 Mar 20, 2017
1.11.2 Feb 22, 2017
1.11.1 Feb 09, 2017
1.11.0 Feb 08, 2017
1.11.0rc1 Feb 06, 2017
1.10.1 Feb 01, 2017
1.10.0 Jan 17, 2017
1.10.0rc2 Jan 11, 2017
1.10.0rc1 Jan 04, 2017
1.9.0 Nov 16, 2016
1.9.0rc4 Nov 09, 2016
1.9.0rc3 Nov 03, 2016
1.9.0rc2 Oct 27, 2016
1.9.0rc1 Oct 20, 2016
1.8.1 Sep 22, 2016
1.8.0 Jul 27, 2016
1.8.0rc2 Jul 07, 2016
1.8.0rc1 Jun 14, 2016
1.7.1 May 05, 2016
1.7.0 Apr 13, 2016
1.7.0rc2 Apr 11, 2016
1.7.0rc1 Mar 24, 2016
1.6.2 Feb 24, 2016
1.6.1 Feb 23, 2016
1.6.0 Feb 04, 2016
1.6.0rc1 Jan 18, 2016
1.5.2 Dec 04, 2015
1.5.1 Nov 12, 2015
1.5.0 Nov 03, 2015
1.5.0rc3 Oct 30, 2015
1.5.0rc2 Oct 28, 2015
1.5.0rc1 Oct 14, 2015
1.4.2 Sep 22, 2015
1.4.1 Sep 15, 2015
1.4.0 Aug 11, 2015
1.4.0rc3 Jul 31, 2015
1.4.0rc2 Jul 23, 2015
1.4.0rc1 Jul 22, 2015
1.3.3 Jul 16, 2015
1.3.2 Jul 14, 2015
1.3.1 Jun 22, 2015
1.3.0 Jun 18, 2015
1.3.0rc3 Jun 15, 2015
1.3.0rc2 Jun 09, 2015
1.3.0rc1 May 27, 2015
1.2.0 Apr 16, 2015
1.2.0rc4 Apr 09, 2015
1.2.0rc3 Apr 01, 2015
1.2.0rc2 Mar 26, 2015
1.2.0rc1 Mar 24, 2015
1.1.0 Jan 20, 2015
1.1.0rc2
1.1.0rc1

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

Extras:
Dependencies:
PyYAML (<6,>=3.10)
distro (<2,>=1.5.0)
docker[ssh] (>=5)
dockerpty (<1,>=0.4.1)
docopt (<1,>=0.6.1)
jsonschema (<4,>=2.5.1)
python-dotenv (<1,>=0.13.0)
requests (<3,>=2.20.0)
texttable (<2,>=0.9.0)
websocket-client (<1,>=0.32.0)
backports.ssl-match-hostname (<4,>=3.5)
cached-property (<2,>=1.2.0)
colorama (<1,>=0.4)