Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is the compose plugin? I don't see a reference to it on the github page


"docker compose" is a golang rewrite of the old standalone "docker-compose" python script. [1]

To install it's simply:

$ mkdir -p ~/.docker/cli-plugins

$ curl -SL https://github.com/docker/compose/releases/download/v2.23.0/... -o ~/.docker/cli-plugins/docker-compose

1. https://docs.docker.com/compose/install/linux


It's usually not referring to as a plugin, but as a standalone utility, i.e., `docker-compose` not `docker compose`.

If you put the binary in that magic Docker plugins directory, it'll treat the binary as a plugin and let you do `docker compose`.


Note that these are two different implementations, the standalone docker-compose has different cli arguments and is deprecated for the plugin (which is also a binary executable as you pointed out)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: