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

FeatureRequest: In regards to a container having a healthcheck and the update function #2

Closed
Leopere opened this issue Jun 10, 2019 · 2 comments

Comments

@Leopere
Copy link

Leopere commented Jun 10, 2019

The issue I often see with automated self-updating containers is that many package maintainers don't design proper stateless containers and often an auto-updater like Ouroboros and Watchtower two very unsafe options, in my opinion, have zero awareness of the status of the updated container.

If Diun could possibly check if the container was running and healthy if health-checks are available of course, and then ensure that the replaced updated container reaches a healthy state before considering the upgrade to be complete.

This could be done with a combination of backing up the old container image with one of the functions docker has and then restoring the old image when the newer one turns out faulty.

@Leopere Leopere changed the title FeatureRequest: In regards to a container has a healthcheck and the update function FeatureRequest: In regards to a container having a healthcheck and the update function Jun 10, 2019
@crazy-max
Copy link
Owner

Like I said in #1, unlike other tools like WatchTower, Diun is not intended to update containers but only to send notifications when an image is updated on a registry.

@Leopere
Copy link
Author

Leopere commented Jun 10, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants