暫無描述

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 4 年之前
.github 11c36bd9a0 rebase workflow 4 年之前
aci 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 4 年之前
api 36d6c40e52 Add support for services on ps command 4 年之前
cli 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 4 年之前
docs ebbe86f18d Merge pull request #1632 from rosven/documentation_fixes 4 年之前
ecs 15eab93b31 docker compose exec to return command exit code 4 年之前
internal 28bd7bda3e Separate compose CLI plugin version from Cloud integration version 4 年之前
kube 15eab93b31 docker compose exec to return command exit code 4 年之前
local 7840be9693 Merge pull request #1633 from ndeloof/ipaddress 4 年之前
packaging 2aea82a7c6 packaging: Add EULA 5 年之前
scripts 14b8052d83 Install compose cli plugin in addition to compose-cli binary with scripted install 4 年之前
utils de3fa40bae Handle Ctrl+C for compose CLI plugin. 4 年之前
.dockerignore 2aea82a7c6 packaging: Add EULA 5 年之前
.gitattributes 93984f8c68 Removed test requiring linux containers 5 年之前
.gitignore cc649d958c Add Azure sovereign cloud support 4 年之前
.golangci.yml 69f10fe80c Extract interface / types to allow unit tests / mock 5 年之前
BUILDING.md aca816d5d6 Remove example backend. 4 年之前
CHANGELOG.md 4c6280b0e9 Rename docker/api -> docker/compose-cli 5 年之前
CONTRIBUTING.md 966bbfe8b8 contributing: Tidy and clarify 5 年之前
Dockerfile 1fce1623ee Cross build & package compose-cli plugin 4 年之前
INSTALL.md f72b2c4958 install: Fix Linux install instructions and script 5 年之前
LICENSE d7d9bb28bb Add LICENSE and NOTICE files 5 年之前
MAINTAINERS 0fb9b75b9d maintainers: Fix typo 4 年之前
Makefile 66f64d9875 Add make install to symlink cli from `make cli` 4 年之前
NOTICE d154c41586 Update copyright 5 年之前
README.md 0312556f73 Update readme and clarify relation to docker-compose 4 年之前
builder.Makefile 28bd7bda3e Separate compose CLI plugin version from Cloud integration version 4 年之前
go.mod 4186cce1dd use highest priority network to declare network aliasses 4 年之前
go.sum 4186cce1dd use highest priority network to declare network aliasses 4 年之前
import-restrictions.yaml aca816d5d6 Remove example backend. 4 年之前
main.go 28bd7bda3e Separate compose CLI plugin version from Cloud integration version 4 年之前

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.