Open jj4me opened 2 years ago
+1, also it should be linked up as an optional dependency for al0222s own docker
package.
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.
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.
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)
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.
(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
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.
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
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)
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.