You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs show a command for starting your docker compose and it uses the version 1 style docker-compose. It would be better to use v2 style docker compose, as old docker-compose is deprecated and not included when you install the latest docker tools (space vs hyphen). The current compose.yaml definition file looks completely compatible with v2, so no changes needed to that.
What is the difference between docker compose and docker-compose
Version one of the Docker Compose command-line binary was first released in 2014. It was written in Python, and is invoked with docker-compose. Typically, Compose V1 projects include a top-level version element in the compose.yml file, with values ranging from 2.0 to 3.8, which refer to the specific file formats.
Version two of the Docker Compose command-line binary was announced in 2020, is written in Go, and is invoked with docker compose. Compose V2 ignores the version top-level element in the compose.yml file.
The text was updated successfully, but these errors were encountered:
Description
The docs show a command for starting your docker compose and it uses the version 1 style
docker-compose
. It would be better to use v2 styledocker compose
, as olddocker-compose
is deprecated and not included when you install the latest docker tools (space vs hyphen). The current compose.yaml definition file looks completely compatible with v2, so no changes needed to that.For more information about
docker compose
vsdocker-compose
: https://docs.docker.com/compose/faq/#what-is-the difference-between-docker-compose-and-docker-composeThe text was updated successfully, but these errors were encountered: