You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Jan Rundshagen b68b16fb20 ci: enhance GitHub Actions workflow for Docker image publishing and add permissions 9 months ago
.devbots add automatic issue locking 6 years ago
.github ci: enhance GitHub Actions workflow for Docker image publishing and add permissions 9 months ago
cmd fix: increase default DOCKER_API_VERSION to 1.44 10 months ago
dockerfiles chore(deps): update alpine docker tag to v3.21.3 10 months ago
docs docs: update documentation with new sections and improve clarity 9 months ago
grafana fix(templates): fix typo in grafana dashboard.json (#1305) 4 years ago
internal chore: update Docker API types to use new image package 9 months ago
pkg chore: update Docker API types to use new image package 9 months ago
prometheus Prometheus support (#450) 5 years ago
scripts feat(docs): add template preview (#1777) 2 years ago
tplprev chore(go): rename 1 year ago
.codacy.yml exclude markdown files from coverage analysis 7 years ago
.editorconfig docs: add containrrr-dark color scheme (#1427) 3 years ago
.gitignore ci: enhance GitHub Actions workflow for Docker image publishing and add permissions 9 months ago
CNAME Create CNAME 1 year ago
CONTRIBUTING.md docs: update documentation with new sections and improve clarity 9 months ago
LICENSE.md Possibility to disable the TLS verify for sending mails. 8 years ago
README.md chore: Update readme, add some hints, fix markdown 1 year ago
SECURITY.md docs: update documentation with new sections and improve clarity 9 months ago
build.sh chore(ci): update build.sh 1 year ago
code_of_conduct.md chore: Update readme, add some hints, fix markdown 1 year ago
docker-compose.yml Prometheus support (#450) 5 years ago
docs-requirements.txt ci: add pip caching for docs workflow (#1292) 4 years ago
go.mod fix(deps): update docker/cli and docker/docker dependencies to v28.0.4 9 months ago
go.sum fix(deps): update docker/cli and docker/docker dependencies to v28.0.4 9 months ago
gopher-watchtower.png add logo to repo 6 years ago
goreleaser.yml chore(ci): Update goreleaser 1 year ago
logo.png Add files via upload 6 years ago
main.go chore(go): rename 1 year ago
mkdocs.yml docs: update documentation with new sections and improve clarity 9 months ago
oryxBuildBinary feat: add a label take precedence argument (#1754) 2 years ago
renovate.json Add renovate.json 1 year ago

README.md

Watchtower

[!NOTE]
This is a fork of the really nice project from containrrr called watchtower.

I am not the original author of this project. I just forked it to make some changes to it and keep it up-to-date as properly as I can.

Contributions, tips and hints are welcome. Just open an issue or a pull request. Please be aware that I am by no means a professional developer. I am just a Platform Engineer.

A process for automating Docker container base image updates.



codecov GoDoc Go Report Card latest version Apache-2.0 License Pulls from DockerHub

Quick Start

With watchtower you can update the running version of your containerized app simply by pushing a new image to the Docker Hub or your own image registry.

Watchtower will pull down your new image, gracefully shut down your existing container and restart it with the same options that were used when it was deployed initially. Run the watchtower container with the following command:

$ docker run --detach \
    --name watchtower \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    beatkind/watchtower

Watchtower is intended to be used in homelabs, media centers, local dev environments, and similar. We do not recommend using Watchtower in a commercial or production environment. If that is you, you should be looking into using Kubernetes. If that feels like too big a step for you, please look into solutions like MicroK8s and k3s that take away a lot of the toil of running a Kubernetes cluster.

Documentation

The full documentation is available at https://watchtower.devcdn.net.