This is an inherently hard problem to Google, so please hit me with links if I missed something (I searched as hard as I could).
What is the difference between docker/compose-cli and docker/compose? (I’m going to refer to them by their Github names because that’s the least confusing way.) Here’s what I’ve got so far:
- available on PyPI as well https://pypi.org/project/docker-compose/
- comes with Docker Desktop for Mac, linked at
- the classic
- downloadable on its Github release page as a binary just called “docker”?
- on Docker Desktop for Mac, is invoked with
- reads docker-compose.yml files
- Github README says it can deploy to cloud environments (Azure, ECS)
docker/compose-cli the successor to
docker/compose? It seems it can’t deploy locally? I get an error
$ docker compose up Command "compose up" not available in current context (default)
Besides the documentation built into the CLI, I can find no documentation about
docker/compose-cli. The docs on the website refer to
docker/compose, but call it
Docker Compose. It has no mention of deploying
docker-compose.yml manifests to cloud providers (except Swarm).
Did Docker just create two products that are all-but-identically named, read the same
docker-compose.yml manifest, both come with Docker Desktop, have many of the same CLI subcommands and flags, but whose deployment targets are disjoint sets? That don’t mention their relationship to one another? What the hell is going on here?