The new Compose v2, which supports the compose
command as part of the Docker CLI, is now available.
Compose v2 integrates compose functions into the Docker platform, continuing to support most of the previous docker-compose
features and flags. You can run Compose v2 by replacing the hyphen (-
) with a space, using docker compose
, instead of docker-compose
.
Docker Compose v1 ist still available through the docker-compose
command.
Reference #1171