Define and run multi-container applications with Docker https://docs.docker.com/compose/
Find a file
2021-05-06 15:49:51 +02:00
.github
aci Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
api Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
cli Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
docs Merge pull request #1632 from rosven/documentation_fixes 2021-05-04 12:35:27 +02:00
ecs Add cp command 2021-05-01 18:20:52 -07:00
internal
kube Add cp command 2021-05-01 18:20:52 -07:00
local Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
packaging
scripts
utils
.dockerignore
.gitattributes
.gitignore
.golangci.yml
builder.Makefile Bump compose beta version 2021-05-05 15:25:26 +02:00
BUILDING.md
CHANGELOG.md
CONTRIBUTING.md
Dockerfile
go.mod Fix building compose files with absolute build context / Dockerfile 2021-05-05 16:58:50 +02:00
go.sum Fix building compose files with absolute build context / Dockerfile 2021-05-05 16:58:50 +02:00
import-restrictions.yaml
INSTALL.md
LICENSE
main.go
MAINTAINERS
Makefile
NOTICE
README.md

Docker Compose CLI

Actions Status Actions Status

This Compose CLI tool makes it easy to run Docker containers and Docker Compose applications:

  • locally as a command in the docker CLI, using docker compose ... comands.
  • in the cloud using either Amazon Elastic Container Service (ECS) or Microsoft Azure Container Instances (ACI) using the Docker commands you already know.

Local Docker Compose

The docker compose local command is meant to be the next major version for docker-compose, and it supports the same commands and flags, in order to be used as a drop-in replacement. Here is a checklist of docker-compose commands and flags that are implemented in docker compose.

This docker compose local command :

  • has a better integration with the rest of the docker ecosystem (being written in go, it's easier to share functionality with the Docker CLI and other Docker libraries)
  • is quicker and uses more parallelism to run multiple tasks in parallel. It also uses buildkit by default
  • includes additional commands, like docker compose ls to list current compose projects

Getting started

To get started with Compose CLI, all you need is:

Please create issues to leave feedback.

Examples

Development

See the instructions in BUILDING.md for how to build the CLI and run its tests; including the end to end tests for local containers, ACI, and ECS. The guide also includes instructions for releasing the CLI.

Before contributing, please read the contribution guidelines which includes conventions used in this project.