amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - docker-compose-plugin

Open ghost opened this issue 3 years ago • 11 comments

What package is missing from Amazon Linux 2022? Please describe and include package name. docker-compose-plugin

Is this an update to existing package or new package request? New package request.

Is this package available in Amazon Linux 2? No.

The docker compose plugin is a plugin for docker to define and run multi-container Docker applications. It is a standard docker plugin (see https://docs.docker.com/compose/), which I'd expect to be available alongside the docker package.

ghost avatar Sep 08 '22 08:09 ghost

+1, also it should be linked up as an optional dependency for al0222s own docker package.

Spunkie avatar Sep 09 '22 15:09 Spunkie

The version of docker available today on Amazon Linux 2023 is 20.10.17(2022-06-06), where as a later version 20.10.23(2023-01-19) is available on Amazon Linux 2. So, I updated to Amazon Linux 2023 today but have an older version of docker.

The current released linux version is 23.0.4(2023-04-17). Supporting different versions across platforms can be a challenge. In v23.0.0 docker deprecated several features and in particular buildkit in favor of the new buildx plugin.

Having both the buildx and compose plugins in the repos with consistent docker versions would really be desirable.

jasonheffner avatar Apr 25 '23 21:04 jasonheffner

The version of docker available today on Amazon Linux 2023 is 20.10.17(2022-06-06), where as a later version 20.10.23(2023-01-19) is available on Amazon Linux 2. So, I updated to Amazon Linux 2023 today but have an older version of docker.

We've fixed this particular issue, anyway.

I don't have an ETA for docker 23.x.y or the compose plugin at this time, though.

nmeyerhans avatar Jun 02 '23 23:06 nmeyerhans

Is there an update on the ETA for docker compose plugin or especially docker 23.x.y? (for others finding this comment: docker compose can be self installed following the instructions in the github repo https://github.com/docker/compose#where-to-get-docker-compose)

melutovich avatar Sep 22 '23 12:09 melutovich

Is there an update on the ETA for docker compose plugin or especially docker 23.x.y? (for others finding this comment: docker compose can be self installed following the instructions in the github repo https://github.com/docker/compose#where-to-get-docker-compose)

I have some good news for you! If you head to the release notes for the first AL2023.2 release, you'll see that AL2023.2 ships with Docker 24.

stewartsmith avatar Sep 22 '23 22:09 stewartsmith

(for others finding this comment: docker compose can be self installed following the instructions in the github repo https://github.com/docker/compose#where-to-get-docker-compose)

This method did not work in my environment. I deployed the file /usr/libexec/docker/cli-plugins/docker-compose with execute permission on Amazon Linux 2023, but I get the error "compose is not a docker command". This docker-compose file can be run standalone. What am I missing?

sinbino avatar Oct 19 '23 06:10 sinbino

@sinbino

  • You should check that the file permissions are with executable
  • You call it by "docker compose" (with a space and without the dash)

melutovich avatar Oct 19 '23 09:10 melutovich

I bet docker and compose is run on a very high part of AL2023 machines that aren't part of a Kubernetes cluster. As these can be really sensitive regarding security and production-wise, it's really sad this is not part of AmazonLinux. There also have been compatibility issues between versions of docker and docker compose in the past so it would really be ESSENTIAL to have this offered as a package.

mkesper avatar Nov 17 '23 14:11 mkesper

I am confused.

sudo dnf install docker

sudo docker compose docker: 'compose' is not a docker command

sudo dnf install docker-compose-plugin Error: Unable to find a match: docker-compose-plugin

So how do I get to the docker compose plugin on Amazon Linux?

kenwdelong avatar Jul 01 '24 23:07 kenwdelong

@kenwdelong

Above I said:

(for others finding this comment: docker compose can be self installed following the instructions in the github repo https://github.com/docker/compose#where-to-get-docker-compose)

melutovich avatar Jul 02 '24 20:07 melutovich

Any updates on docker compose plugin availability in the AL2023 repo?

davidovp avatar Jul 08 '25 18:07 davidovp