Kevin Veen-Birkenbach 630fd43382
refactor(services): unify service/timer runtime control and cleanup handling
- Introduce SYS_SERVICE_ALL_ENABLED and SYS_TIMER_ALL_ENABLED runtime flags
- Add SYS_SERVICE_DEFAULT_STATE for consistent default handling
- Ensure all on-failure service names use lowercase software_name
- Load sys-svc-cln-anon-volumes role during Docker cleanup
- Allow forced service refresh when SYS_SERVICE_ALL_ENABLED is true
- Replace ACTIVATE_ALL_TIMERS with SYS_TIMER_ALL_ENABLED
- Use SYS_SERVICE_DEFAULT_STATE in sys-systemctl vars
- Remove redundant MIG build job fail check

Related to service/timer process control refactoring.
2025-08-19 01:27:37 +02:00
..

Docker Server

Description

This role installs and maintains the Docker service, including Docker Compose, on Linux systems.
It is part of the Infinito.Nexus Project, maintained and developed by Kevin Veen-Birkenbach.

Overview

The role ensures that Docker and Docker Compose are present, integrates essential backup, repair, and health check roles, and supports cleanup or full reset modes for a fresh Docker environment.
When enabled via MODE_CLEANUP or MODE_RESET, it will automatically prune unused Docker resources.
MODE_RESET additionally restarts the Docker service after cleanup.

Features

  • Automated Installation
    Installs Docker and Docker Compose via the system package manager.

  • Integrated Dependencies
    Includes backup, repair, and health check sub-roles:

    • sys-ctl-bkp-docker-2-loc
    • user-administrator
    • sys-ctl-hlth-docker-container
    • sys-ctl-hlth-docker-volumes
    • sys-ctl-rpr-docker-soft
    • sys-ctl-rpr-docker-hard
  • Cleanup & Reset Modes

    • MODE_CLEANUP: Removes unused Docker containers, networks, images, and volumes.
    • MODE_RESET: Performs cleanup and restarts the Docker service.
  • Handler Integration
    Restart handler ensures the Docker daemon is reloaded when necessary.

License

This role is released under the Infinito.Nexus NonCommercial License (CNCL).
See license details.

Author Information

Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world