A Bash script with a Text User Interface (TUI) to simplify managing Docker Compose applications, backups, and updates on Linux servers.
- App Management: Start, stop, restart, and force recreate containers. Includes an update checker to only recreate changed images.
- Backups: Auto-detects and backs up volumes for specific apps or standalone volumes. Supports
zstdcompression and AES-256 encrypted7-Ziparchives using a secure local key. - Automation: Built-in scheduler (Cron) for automatic compose apps updates and unused images.
- Maintenance: View logs, inspect image healthchecks, prune system, and manage local image history for rollbacks.
- Safety: Includes "Dry Run" modes and validates configuration inputs (paths, integers) to prevent errors.
-
Clone the repo:
git clone https://github.com/Pavdig/dtools.git cd dtools -
Make executable:
chmod +x docker_tool_suite.sh
-
Run:
./docker_tool_suite.sh
The script will auto-install dependencies (openssl, 7zip) and guide you through the initial setup wizard.
Interactive Mode: Run with sudo to access the menu:
sudo ./docker_tool_suite.sh
# or if you set up the default alias:
dtoolsCLI (Cron) Mode:
# Update all apps
sudo ./docker_tool_suite.sh update --cron
# Clean unused images
sudo ./docker_tool_suite.sh update-unused --cronSettings are stored in ~/.config/dtools/config.conf.
You can change paths, retention policies, and helper images directly inside the script via Settings Manager in the main menu.