docker-compose (V1) has been deprecated since July 2023, and Compose V2 is its replacement. Since V2 was announced, it was always available as docker compose rather than the single command docker-compose. Modern installations of Docker no longer even ship with docker-compose itself.
📑 Context
See Docker's page titled "Migrate to Compose V2" which explains that the single commanddocker-compose with a hyphen was part of V1 and is now deprecated. Users should instead use docker compose, and the page mentions that this process started a while back:
From July 2023 Compose V1 stopped receiving updates. It’s also no longer available in new releases of Docker Desktop.
I can confirm that I was unable to follow the README to start 13ft, since docker-compose is not available on my machine:
$ docker-compose
zsh: command not found: docker-compose
✅ Checks
[X] I was able to run the service using docker compose up just as expected.
ℹ Additional Information
A possible improvement here would be to also mention docker-compose as a fallback if anyone is running a very old version of Docker, but then you'd have to decide also how long to keep this mention in the README for… overall this doesn't really seem worth it. docker-compose has been deprecated for a while and is well on its way out.
The new line added after the list is to make sure it doesn't bring the one right after next to it.
docker-compose
(V1) has been deprecated since July 2023, and Compose V2 is its replacement. Since V2 was announced, it was always available asdocker compose
rather than the single commanddocker-compose
. Modern installations of Docker no longer even ship withdocker-compose
itself.📑 Context
See Docker's page titled "Migrate to Compose V2" which explains that the single command
docker-compose
with a hyphen was part of V1 and is now deprecated. Users should instead usedocker compose
, and the page mentions that this process started a while back:I can confirm that I was unable to follow the
README
to start 13ft, sincedocker-compose
is not available on my machine:✅ Checks
docker compose up
just as expected.ℹ Additional Information
A possible improvement here would be to also mention
docker-compose
as a fallback if anyone is running a very old version of Docker, but then you'd have to decide also how long to keep this mention in theREADME
for… overall this doesn't really seem worth it.docker-compose
has been deprecated for a while and is well on its way out.The new line added after the list is to make sure it doesn't bring the one right after next to it.