Không có mô tả

aevesdocker 0d4edbbd19 Change links and add versioning information 1 năm trước cách đây
.github db94eb0c26 Add end-of-life message to issue templates 3 năm trước cách đây
bin e8424d5ae0 Removed Python2 support 5 năm trước cách đây
compose cd97ac0fc1 Explain `--filter` in `ps` 4 năm trước cách đây
contrib 84afa518e8 Merge pull request #8061 from albers/completion-profiles 4 năm trước cách đây
docs 0d4edbbd19 Change links and add versioning information 1 năm trước cách đây
experimental 07e2426d89 Remove doc on experimental networking support 9 năm trước cách đây
project 7536c331e0 Document new release process 7 năm trước cách đây
pyinstaller c217bab7f6 Refactor Dockerfiles for generating musl binaries 6 năm trước cách đây
script 203576363e Remove section mentioning _config_authoring on docs 4 năm trước cách đây
tests 1b42ecba14 Update flaky tests on inter-service dependencies 4 năm trước cách đây
.dockerignore 912d90832c Use a simple script to get docker-ce releases 6 năm trước cách đây
.gitignore ca8ab06571 Some additional exclusions in .gitignore / .dockerignore 7 năm trước cách đây
.pre-commit-config.yaml 2011bc3cea exclude .github from pre-commit 4 năm trước cách đây
CHANGELOG.md 0eaf57466d Update changelog to 1.29.2 4 năm trước cách đây
CHANGES.md 478054af47 Rename CHANGES.md to CHANGELOG.md 10 năm trước cách đây
CONTRIBUTING.md 981df93f12 Keep CONTRIBUTING.md information up to date 7 năm trước cách đây
Dockerfile ccabfde353 Bump python to 3.7.10 4 năm trước cách đây
INSTALL.md b750e5bb4c Update the installation guide for the python version of Compose 3 năm trước cách đây
Jenkinsfile 1250bb7481 Update node spec in Jenkinsfile 4 năm trước cách đây
LICENSE 99064d17dd Docker, Inc. 11 năm trước cách đây
MAINTAINERS 9ee6b17d9c Add Anca to Maintainers 5 năm trước cách đây
MANIFEST.in 9f734f7c53 Pin all indirect dependencies 5 năm trước cách đây
Makefile 8f2dbd9b12 Add devices to config hash to trigger container recreate on change 5 năm trước cách đây
README.md c9527747eb Change wording about V2 GA being on the way for consistency. 3 năm trước cách đây
Release.Jenkinsfile c760600a65 fix config path for authentication 4 năm trước cách đây
SWARM.md 520c695bf4 Update Swarm integration guide and make it an official part of the docs 9 năm trước cách đây
docker-compose-entrypoint.sh c217bab7f6 Refactor Dockerfiles for generating musl binaries 6 năm trước cách đây
docker-compose.spec 675c9674e1 Add Makefile including spec download target 5 năm trước cách đây
docker-compose_darwin.spec 675c9674e1 Add Makefile including spec download target 5 năm trước cách đây
logo.png 0bdbb33447 include logo in README 10 năm trước cách đây
logo.svg 2011bc3cea exclude .github from pre-commit 4 năm trước cách đây
requirements-build.txt a3e6e28eeb deps: Bump Python, Docker, base images 5 năm trước cách đây
requirements-dev.txt dfe472118d Merge pull request #8318 from docker/dependabot/pip/pytest-6.2.4 4 năm trước cách đây
requirements-indirect.txt 39ab3aee50 Bump py to 1.10.0 4 năm trước cách đây
requirements.txt 318181b21e Merge pull request #7718 from docker/dependabot/pip/paramiko-2.7.2 4 năm trước cách đây
setup.cfg 2648af6807 enable universal wheels 9 năm trước cách đây
setup.py ddee2958ec Bump docker-py to 5.0.0 and PyYAML to 5.4.1 4 năm trước cách đây
tox.ini 1da4301650 Advertise `docker compose` for non linux users 4 năm trước cách đây

README.md

Docker Compose

Build Status

Docker Compose

:warning: Compose V1 is DEPRECATED :warning:

Since Compose V2 is now GA, Compose V1 is officially End of Life. This means that:

  • Active development and new features will only be added to the V2 codebase
  • Only security-related issues will be considered for V1

Check out the V2 branch here!!


** Compose V2 is Generally Available! :star_struck: **

Check it out here!

Read more on the GA announcement here


V1 vs V2 transition :hourglass_flowing_sand:

"Generally Available" will mean:

  • New features and bug fixes will only be considered in the V2 codebase
  • Users on Mac/Windows will be defaulted into Docker Compose V2, but can still opt out through the UI and the CLI. This means when running docker-compose you will actually be running docker compose
  • Our current goal is for users on Linux to receive Compose v2 with the latest version of the docker CLI, but is pending some technical discussion. Users will be able to use compose switch to enable redirection of docker-compose to docker compose
  • Docker Compose V1 will continue to be maintained regarding security issues
  • v2 branch will become the default one at that time

:lock_with_ink_pen: Depending on the feedback we receive from the community of GA and the adoption on Linux, we will come up with a plan to deprecate v1, but as of right now there is no concrete timeline as we want the transition to be as smooth as possible for all users. It is important to note that we have no plans of removing any aliasing of docker-compose to docker compose. We want to make it as easy as possible to switch and not break any ones scripts. We will follow up with a blog post in the next few months with more information of an exact timeline of V1 being marked as deprecated and end of support for security issues. We’d love to hear your feedback! You can provide it here.

About

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

All the instructions to install the Python version of Docker Compose, aka v1, are described in the installation guide.

⚠️ This version is a deprecated version of Compose. We recommend that you use the latest version of Docker Compose.

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.