-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Add self upgrade feature #1893
Comments
This would largely depend on how you install |
What do you mean under "packaged bundle"? |
|
I'm pretty sure we use pyinstaller to package/bundle up |
I meant regular deb/rmp repository to get everything upgraded together. |
This would be all but useless for anyone else that isn't on Debian/Ubuntu. What about RHEL/CentOS? What about CRUX? What about OS X? What about manually installed, pip installed? I think supporting |
I was talking about both deb and rpm, others can use it as they use it now. Moreover, repositories already exists and used to install Docker itself. I have it installed as specified in documentation, namely:
Now uninstallation:
Just look into documentation: https://docs.docker.com/compose/install/ This is just single static binary, I do not see any single reason why it might be difficult for Compose to override itself with new binary or just remove itself. |
I'm just saying there are platform/OS things to consider; and FYI Docker is available (Docker Engine) on Windows as a preview :) See Sven's blog posts about him testing it out! Docker Client itself on Windows has been available since bot2docker and friends :) |
I do not have Windows, can't try it, LOL) |
I doubt we would add a self-upgrade feature to Compose in isolation. Most people are going to install via the Toolbox, and it makes sense to upgrade components together, since newer versions of the tools often drop compatibility for older versions of the other tools. I can see a future where the Toolbox can upgrade all components at once, but that's not (directly) a Compose concern. |
As long as Compose can still be shipped and installed either as a binary bundle or via pip I'm happy! |
Closing this. It will either be handled by toolbox, or with #2235 (allowing the distro to upgrade as it would normally). |
Would be nice to have two more commands:
For instance, PHP packages manager Composer has
composer self-upgrade
and it is way more convenient that going to documentation and copy-pasting installation command or doing something else manually.The text was updated successfully, but these errors were encountered: