Skip to main content

Docker

The docker trigger automatically restarts or recreates local containers when updated images are available.


⚙️ Configuration Variables

WUD_TRIGGER_DOCKER_{trigger_name}_DRYRUN
Optionalbooleandefault: false

When enabled, only pulls the new image ahead of time without recreating the container

WUD_TRIGGER_DOCKER_{trigger_name}_PRUNE
Optionalbooleandefault: false

Prune obsolete image versions after a successful upgrade

info

This trigger also supports all common trigger configuration options (such as thresholds, scheduling, and batching).


🚀 Examples

Auto-Update Standalone Containers with Pruning

services:
whatsupdocker:
image: getwud/wud
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- WUD_TRIGGER_DOCKER_LOCAL_PRUNE=true