Files
docker-docs/compose/cli-command-compatibility.md
Guillaume Tardif fd6a291c0b Compose command doc (#12433)
* Compose in Docker CLI overview

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>

* Add compatibility list page for compose command

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>

* Apply suggestions from Usha

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* Apply suggestions from Usha

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>

* Latest update on compatibility list

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>

* Add install instructions

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>

* Suggestions by Marina

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>

* Subsection for compose CLI Tech Preview

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
2021-03-09 10:59:03 +00:00

2.6 KiB

description, keywords, title
description keywords title
Compose command compatibility with docker-compose documentation, docs, docker, compose, containers Compose command compatibility with docker-compose

The compose command in the Docker CLI supports most of the docker-compose commands and flags. It is expected to be a drop-in replacement for docker-compose. There are a few remaining flags that have yet to be implemented, and we are prioritizing these implementations based on usage metrics and user feedback.

You can follow progress on the implementation of the remaining commands and flags in the Compose-CLI{:target="blank" rel="noopener" class=""} GitHub repository.

If you see some Compose functionality that is not available in the compose command, create an issue in the Compose-CLI{:target="blank" rel="noopener" class=""} GitHub repository so we can prioritize it.

Commands or flags not yet implemented

The following commands have not been implemented yet, and maybe implemented at a later time. Let us know if these commands are a higher priority for your usecases.

  • compose build --memory
  • compose build --no-cache
  • compose config --no-interpolate
  • compose config --services
  • compose config --volumes
  • compose config --hash
  • compose images
  • compose port
  • compose pull --ignore-pull-failures
  • compose push --ignore-push-failures

Flags that will not be implemented

The list below includes the flags that we are not planning to support in Compose in the Docker CLI, either because they are already deprecated in docker-compose, or because they are not relevant for Compose in the Docker CLI.

  • compose build --compress Not relevant as the 'compose' command uses buildkit by default.
  • compose build --force-rm Not relevant as commpose command is using buildkit by default.
  • compose build --no-rm Not relevant as commpose command is using buildkit by default.
  • compose build --parallel Not relevant as commpose command is using buildkit by default.
  • compose ps --filter KEY-VALUE Not relevant due to its complicated usage with the service command and also because it is not documented properly in docker-compose.
  • compose pull --parallel Deprecated in docker-compose
  • compose pull --no-parallel Deprecated in docker-compose
  • compose rm --all Deprecated in docker-compose.
  • compose scale Deprecated in docker-compose (use compose up --scale instead)

Global flags:

  • compose --no-ansi Deprecated in docker-compose.
  • compose --compatibility Deprecated in docker-compose.