Define and run multi-container applications with Docker
Go to file
Guillaume Tardif adcadf0af2 Use location specifed by user if provided, and do not override with group location. ACI allow deploying in any location regardless of resource group
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-05 17:06:26 +02:00
.github rebase workflow 2021-04-14 08:02:51 +02:00
aci Use location specifed by user if provided, and do not override with group location. ACI allow deploying in any location regardless of resource group 2021-05-05 17:06:26 +02:00
api Add support for services on ps command 2021-05-03 20:03:52 -03:00
cli Use location specifed by user if provided, and do not override with group location. ACI allow deploying in any location regardless of resource group 2021-05-05 17:06:26 +02:00
docs Merge pull request #1632 from rosven/documentation_fixes 2021-05-04 12:35:27 +02:00
ecs docker compose exec to return command exit code 2021-04-29 10:58:45 +02:00
internal Separate compose CLI plugin version from Cloud integration version 2021-04-27 09:16:41 +02:00
kube docker compose exec to return command exit code 2021-04-29 10:58:45 +02:00
local Merge pull request #1633 from ndeloof/ipaddress 2021-05-04 20:32:40 +02:00
packaging packaging: Add EULA 2020-09-22 15:04:16 +02:00
scripts Install compose cli plugin in addition to compose-cli binary with scripted install 2021-04-23 11:34:22 +02:00
utils Handle Ctrl+C for compose CLI plugin. 2021-04-23 10:21:05 +02:00
.dockerignore packaging: Add EULA 2020-09-22 15:04:16 +02:00
.gitattributes Removed test requiring linux containers 2020-06-11 12:58:58 +02:00
.gitignore Add Azure sovereign cloud support 2021-02-15 18:38:59 -08:00
.golangci.yml Extract interface / types to allow unit tests / mock 2020-05-15 10:15:56 +02:00
BUILDING.md Remove example backend. 2021-01-19 11:29:48 +01:00
CHANGELOG.md Rename docker/api -> docker/compose-cli 2020-08-21 17:28:39 +02:00
CONTRIBUTING.md contributing: Tidy and clarify 2020-09-03 15:54:20 +02:00
Dockerfile Cross build & package compose-cli plugin 2021-04-22 17:51:29 +02:00
INSTALL.md install: Fix Linux install instructions and script 2020-09-25 17:01:00 +02:00
LICENSE Add LICENSE and NOTICE files 2020-08-17 10:20:49 +02:00
MAINTAINERS maintainers: Fix typo 2020-12-24 12:26:52 +01:00
Makefile Add make install to symlink cli from `make cli` 2021-02-22 15:27:11 +01:00
NOTICE Update copyright 2020-09-22 12:13:00 +02:00
README.md Update readme and clarify relation to docker-compose 2021-04-26 16:34:36 +02:00
builder.Makefile Separate compose CLI plugin version from Cloud integration version 2021-04-27 09:16:41 +02:00
go.mod use highest priority network to declare network aliasses 2021-05-03 16:01:10 +02:00
go.sum use highest priority network to declare network aliasses 2021-05-03 16:01:10 +02:00
import-restrictions.yaml Remove example backend. 2021-01-19 11:29:48 +01:00
main.go Separate compose CLI plugin version from Cloud integration version 2021-04-27 09:16:41 +02:00

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.