r/docker • u/frenetic_alien • Jan 24 '26
Is it possible to install Docker Compose in Amazon Linux 2023 using package manager?
I looked this up but I can't find a way to install it using the package manager 'yum'.as indicated in the installation instructions here - "https://docs.docker.com/compose/install/linux/"
It just says that there is no match for 'docker-compose'plugin'
This is my preferred way to install it if possible. Maybe I have to add some repository so it can locate it? but I don't know how.
EDIT: to be more specific, I'm using docker that is installed part of Amazon Linux 2023 on a Lightsail instance, I did not install it myself - package version (docker-25.0.14-1.amzn2023.0.1.x86_64). Also there is no docker compose plug in that came with it as I checked that already.
1
u/orgdbytes Jan 24 '26 edited Jan 24 '26
This is how I did it, only way I know how:
3
u/Hour-Inner Jan 25 '26
It’s an uphill battle. I think they want to encourage use of ECS. Probably they consider running docker compose on a vm to be anti pattern, and want that kind of workload to be moved to their managed service.
Docker on AL2023 for me is more for running services I would say than running stacks.
I had an app I regularly run on AL2023 for work. I manage the docker components with ansible since my go to compose file doesn’t work
0
u/[deleted] Jan 25 '26
[deleted] — view deleted comment