Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to keep "docker-compose" up-to-date using "apt-get update" or similar? #9195

Closed
nunoperalta opened this issue Feb 22, 2022 · 8 comments

Comments

@nunoperalta
Copy link

The version from pip seems to be V1

And looking at the instructions at https://docs.docker.com/compose/cli-command/#install-on-linux
It seems that the only way to install V2 is by downloading the script from a tag/release.

It seems that the only way to keep docker-compose up-to-date is by manually downloading from the latest tag/release,
while I'd like to have it automated.

Is it possible?
Thank you very much.

@ndeloof
Copy link
Contributor

ndeloof commented Feb 23, 2022

Sure, we are working on getting compose available as a system package with other docker bits, see docker/docker-ce-packaging#553

@nunoperalta
Copy link
Author

Perfect! Thank you for that :)

@nemchik
Copy link

nemchik commented Apr 13, 2022

It seems like the compose plugin packages have not been updated in the docker-ce repo https://download.docker.com/ since v2.3.3. Does it only get updated when cli updates?

@ndeloof
Copy link
Contributor

ndeloof commented Apr 14, 2022

We are working on separating the system package release cycle from docker/cli so that we can get latest release available

@johnthagen
Copy link
Contributor

johnthagen commented Jul 30, 2022

@nunoperalta
Copy link
Author

This is resolved, at least to me on AlmaLinux 8.

$ dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
$ dnf install docker-compose-plugin

@nemchik
Copy link

nemchik commented Jul 30, 2022

Packages are available in the official package repo, and users can use their package manager to get updates, but the releases from here don't get put in the official package repo until a new release of the docker cli (I think that's when it happens). So the official package repo will trail behind official releases from this repo. @ndeloof said this will change in the future.

Not sure if it's valid to keep this issue open until then, or consider it resolved or track a separate issue about keeping the package repo updated.

@ndeloof
Copy link
Contributor

ndeloof commented May 4, 2023

Closing as a duplicate for #9657

@ndeloof ndeloof closed this as completed May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants