docs icon indicating copy to clipboard operation
docs copied to clipboard

Ubuntu's apt repository has a package called 'docker-compose', but not 'docker-compose-plugin'

Open sssheridan opened this issue 3 years ago • 0 comments

File: engine/install/ubuntu.md

In this issue, I explained that installing docker through Ubuntu's default apt repositories is an option, and should be mentioned (and either encouraged or discouraged as appropriate) in the documentation.

Issue

For the Docker Compose doc, there's an additional issue: the doc says to install with sudo apt install docker-compose-plugin, but the Ubuntu default repository has the package docker-compose but not docker-compose-plugin.

On Ubuntu 20.04:

$ apt search docker-compose
docker-compose/focal 1.25.0-1 all
  Punctual, lightweight development environments using Docker

On Ubuntu 22.04:

$ apt search docker-compose
docker-compose/jammy,now 1.29.2-1 all [installed]
  define and run multi-container Docker applications with YAML

Suggestions

  • As with the Docker Engine doc, this page should mention the default-repo sudo apt install docker-compose method of installing Docker Compose (and either encourage it or discourage it as appropriate), and
  • If the package name is docker-compose instead of docker-compose-plugin in Docker's own repo, as it is in the default repo, then this page should reflect that.

sssheridan avatar Aug 06 '22 14:08 sssheridan