Skip to content

Watchtower

Homepage | Repository

A process for automating Docker container base image updates.

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.

inventories/homelab/group_vars/homelab.yml
watchtower_enabled: true

Watchtower will automatically monitor and update all other Docker containers.

See the default configuration options for Watchtower at roles/watchtower/defaults/main.yml. Add any overrides to your inventories/[your_inventory]/group_vars/homelab.yml file.