Docker container self-upgrade

mmumshad
Sat, 19 Nov 2016 23:37:56 +0000
General

I have built a web application and dockerized it. So now anyone can simply run my application using a simple docker run docker_image_name … Great!! Now I would like to add a feature in my application UI to check when my docker image upgrades and provide an option to update the docker container itself, without the user having to stop the docker container and manually pulling new image and re-running docker. Is this possible? Are there any APIs available for a self- upgrade?

The closest I came to during my search is this - https://github.com/CenturyLinkLabs/watchtower. But this needs to be installed and configured in the docker container host and we cannot notify/ask user for a confirmation before upgrade. Appreciate any alternatives.

6 posts - 3 participants