暫無描述

Nicolas De Loof fc25d3a54a support mulitple bindings for same target port 4 年之前
.github 11c36bd9a0 rebase workflow 4 年之前
aci 4c0cbea24b Merge pull request #1623 from JulienTant/1391-add-cp 4 年之前
api db6978aa57 Merge pull request #1628 from ulyssessouza/add-bypass-envvar 4 年之前
cli 4c0cbea24b Merge pull request #1623 from JulienTant/1391-add-cp 4 年之前
docs d61e62563e Update compose docs 4 年之前
ecs 8f9ce9d763 Add cp command 4 年之前
internal 28bd7bda3e Separate compose CLI plugin version from Cloud integration version 4 年之前
kube 8f9ce9d763 Add cp command 4 年之前
local fc25d3a54a support mulitple bindings for same target port 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 c8f7e80345 Bump compose beta version 4 年之前
go.mod e0ae9d21b4 pass authprovider to buildkit session in addition to driver's Auth parameter 4 年之前
go.sum e0ae9d21b4 pass authprovider to buildkit session in addition to driver's Auth parameter 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.