Sys-ctl-hlth-docker-volumes Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Detects anonymous Docker volumes not bound to containers (unless whitelisted) and alerts.
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
min_ansible_version: 2.9
platforms: [{‘name’: ‘Archlinux’, ‘versions’: [‘rolling’]}]
galaxy_tags: [‘monitor’, ‘docker’, ‘volumes’, ‘health’, ‘systemd’]
repository: https://s.infinito.nexus/code
documentation: https://docs.infinito.nexus
README¶
Docker Volumes Health Check¶
Description¶
Overview¶
systemd service with a timer to
periodically scan for leftover anonymous volumes.Purpose¶
Features¶
Anonymous Volume Detection: Identifies volumes with 64-character IDs not attached to any container.
Whitelist Support: Skips volumes listed in
DOCKER_WHITELISTET_ANON_VOLUMES.Bootstrap Volume Exclusion: Ignores known bootstrap volumes (e.g.,
/var/www/bootstrap).Systemd Integration: Installs a one-shot service and timer to automate checks.
Alerting Support: Works with the
`sys-ctl-alm-compose<../sys-ctl-alm-compose/README.md>`__ role for failure notifications.