greenbone / docs

Documentation for the Greenbone Community Edition
https://greenbone.github.io/docs/
Creative Commons Attribution Share Alike 4.0 International
23 stars 32 forks source link

"docker compose" command doesn't work, "docker-compose" with a hyphen ("-") is required based on docker install method. #388

Closed syspect-sec closed 1 year ago

syspect-sec commented 1 year ago

Expected behavior

Docker workflow commands in the documentation should work.

Actual behavior

The docker-compose commands in the documentation were all changed to docker compose recently. The official tool for managing multi-container Docker applications is "docker-compose" with a hyphen ("-").

syspect-sec commented 1 year ago

I didn't see that the install method for Docker tools had changed in the docs, so this is not an issue with the changed install method.

bjoernricks commented 1 year ago

Some background. docker-compose was implemented in Python. Docker Inc. (the company) decided to replace the Python based docker compose with a plugin directly integrated into the Docker CLI written in golang. The Python docker compose (the one with the hyphen) is called docker compose v1 now and the new version (without the hyphen) is called docker compose v2. v1 will not get any updates and all users are encouraged to update to v2. See https://docs.docker.com/compose/compose-file/

grafik