No description
Find a file
2026-02-20 16:43:11 +01:00
locale/de translatefile update 2026-02-20 16:43:11 +01:00
.gitignore Initial commit with security-checked .gitignore 2026-02-13 14:52:56 +01:00
CHANGELOG.md - clidmanager.sh: Added filter option for Caddy logs to hide whitelisted IPs. 2026-02-20 16:39:49 +01:00
clidmanager.sh - clidmanager.sh: Added filter option for Caddy logs to hide whitelisted IPs. 2026-02-20 16:39:49 +01:00
docker_work - Internationalization (i18n) support added (English default, German translation) 2026-01-31 00:06:09 +01:00
install.sh ensure update_dyndns.log with clidmanager 2026-02-10 23:58:53 +01:00
LICENSE Initial commit 2025-03-23 21:42:46 +01:00
README.md update readme 2026-02-07 18:19:29 +01:00
update_dyndns.sh Critical Fix: Prevent 100% CPU usage in update_dyndns.sh (Process check & Loop limits) 2026-02-17 08:12:33 +01:00

CLI Docker Manager

A comprehensive Bash-based tool for managing Docker containers and associated configurations via a simple command-line interface.

Features

Container Management

  • Folder Structure: Create new container directories in /opt/containers/.
  • Configuration: Edit docker-compose.yml, .env, and Caddyfile with automatic backups.
  • Control: Start, stop, restart, and recreate containers.
  • Logs: Live view of Docker logs with syntax highlighting.
  • Bulk Control: Stop or start all containers simultaneously.

Security & Authelia Watcher

  • Integrated management for the Authelia Watcher container.
  • View banned IPs (iptables & blacklist).
  • Manually unban or whitelist IPs.
  • DynDNS Protection: The update_dyndns.sh script regularly checks your public IP and automatically adds it to the whitelist to prevent lockouts with dynamic IPs. Supports notifications via Gotify.

System & Maintenance

  • Backup & Restore: Restore previous configuration versions directly from the menu.
  • Auto-Update: Checks and installs updates directly from git.ilunix.de.
  • Localization: Support for German language (gettext), defaults to English.

Installation

The included install.sh script handles the setup:

chmod +x install.sh
./install.sh

What gets installed?

  • Dependencies: Installs jq and dnsutils if missing.
  • Scripts: Copies clidmanager.sh, docker_work, and update_dyndns.sh to /usr/local/bin/.
  • Permissions: Configures sudo rights for passwordless execution of the manager.
  • Aliases:
    • dm -> sudo clidmanager.sh
    • clidmanager -> sudo clidmanager.sh
    • dw -> source docker_work
  • Cronjob: Sets up update_dyndns.sh for autostart (@reboot).
  • Language Files: Installs .mo files for translations.

Usage

After installation, the tool can be started easily via the terminal:

dm
# or
clidmanager

To quickly switch to the container directory:

dw

Localization

Remove

The tool automatically detects your system language.

  • English: Default.
  • German: Available if system locale is set to German. Führen Sie das Installationsskript erneut aus und wählen Sie die Option zum Deinstallieren (r), um alle Komponenten, Aliases und Cronjobs sauber zu entfernen.

Disclaimer

Use without warranty! This tool is provided as-is to help manage Docker environments.

⚖️ License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.

Autor: Désiré Werner Menrath