Updated Update and cleanup (markdown)

This commit is contained in:
Jean-Denis Vauguet 2020-05-29 06:14:20 +02:00
parent 6123f72b3b
commit 828afe1930
1 changed files with 3 additions and 5 deletions

View File

@ -2,21 +2,19 @@
Docker images are handy but it can get a a hassle to keep them updated. Also when a repository is automated you want to get these images when they get out. Docker images are handy but it can get a a hassle to keep them updated. Also when a repository is automated you want to get these images when they get out.
There is a nice docker image that solves this issue and can be very helpful. The image is: [v2tec/watchtower](https://hub.docker.com/r/v2tec/watchtower/). One could setup a complex action/hook-based workflow using probes, but there is a nice, easy to use docker image that solves this issue and could prove useful: [watchtower](https://hub.docker.com/r/containrrr/watchtower).
> Actually the upstream project is now https://hub.docker.com/r/containrrr/watchtower
A docker-compose example: A docker-compose example:
```yaml ```yaml
services: services:
watchtower: watchtower:
restart: always restart: always
image: v2tec/watchtower:latest image: containrrr/watchtower:latest
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
``` ```
For more details see the [manual](https://github.com/v2tec/watchtower/blob/master/README.md) For more details see the [manual](https://containrrr.github.io/watchtower/)
*** ***