Skip to content

Releases: rjohny55/Simple-Linux-Docker-Manager

SLDM v1.2.5 — fast image lists and keyboard navigation

Choose a tag to compare

@rjohny55 rjohny55 released this 14 Oct 18:02

SLDM 1.2.5 — faster image lists and keyboard navigation

Both scripts have the same features:

  • English: sldm_en.1.2.5.sh
  • Russian: sldm_ru.1.2.5.sh

Changes

  • Moved the heavy docker system df image-size query to the background. The image list appears without waiting for that query; exact size is cached for 30 seconds and updates once the query finishes.
  • Added ↑/↓ selection and Enter navigation to the main menu and image list.
  • Repaint only the old and new highlighted rows in a suitably sized terminal, eliminating full-screen redraws during selection.
  • Added ←/→ pagination for image and container lists, preserving n/p shortcuts.
  • Adapt image page size to terminal height and handle idle terminal resizes.
  • Added selected-image actions: layer history, Pull, Push and Delete.
  • Delete requests removal of the highlighted image; y/Y confirms and any other key cancels. The target is pinned to the displayed image ID, and this action does not use -f.
  • Esc returns to the parent menu from the lists, cleanup menu and selected-image actions.
  • Private temporary cache directories, background image-size worker cleanup, and bounded escape-sequence parsing.
  • Updated English/Russian README, installation commands, hotkeys and cleanup warnings.

Validation

Bash syntax checks and 26 regression tests passed for each language (52 tests total). Tests use a fake Docker CLI; no real Docker resources were removed.

Safety

Existing batch/prune actions are separate and remain potentially destructive. The new y confirmation applies only to single-image deletion, not every cleanup action. Check your target before deleting.


Русский — изменения в 1.2.5

  • Ускорено открытие списка образов: тяжёлый docker system df работает в фоне, точный размер образов кэшируется на 30 секунд.
  • Стрелки ↑/↓ выбирают раздел в главном меню или образ в списке; Enter открывает раздел или действия выделенного образа.
  • При перемещении выделения в терминале подходящего размера обновляются только две строки, без очистки экрана.
  • Добавлена пагинация ←/→ для образов и контейнеров; n/p сохранены.
  • Размер страницы образов подстраивается под высоту терминала, изменение размера окна обрабатывается автоматически.
  • Меню выбранного образа: история слоёв, Pull, Push и удаление.
  • Delete вызывает подтверждение удаления выбранного образа: y/Y — удалить, другая клавиша — отменить. Удаление по ID отображённого образа, без -f.
  • Esc возвращает на уровень выше из списков, меню очистки и действий образа.
  • Приватный временный кэш, завершение фонового подсчёта размера образов и безопасный разбор клавиш.
  • Обновлён README на двух языках: установка, горячие клавиши и предупреждения об очистке.

Проверены обе версии: Bash-синтаксис и по 26 тестов (52 всего), без удаления реальных ресурсов Docker.
Массовое удаление и prune остаются отдельными потенциально разрушительными действиями; подтверждение y относится только к удалению одного образа.

Install / Установка

Download one script, inspect it, then run with Bash 4.0+ and Docker access. / Скачайте нужный скрипт, ознакомьтесь с ним и запустите с Bash 4.0+ и доступом к Docker.

chmod +x sldm_en.1.2.5.sh
./sldm_en.1.2.5.sh
# Russian / Русская версия:
chmod +x sldm_ru.1.2.5.sh
./sldm_ru.1.2.5.sh

SHA256SUMS contains checksums for both scripts. / В SHA256SUMS указаны контрольные суммы обеих версий.

SLDM v1.2.4

Choose a tag to compare

@rjohny55 rjohny55 released this 06 Mar 18:54
17f0cc1

bug fix
new function Add show_image_history function to display layer history

SLDM v1.2.3 Final Release — best bash-docker manager 2025 year

Choose a tag to compare

@rjohny55 rjohny55 released this 25 Nov 00:29
9270c52

🚀 Optimization & Hardware (System & Hardware)

  • Moved Cache to RAM (/dev/shm):

    • Cache and lock files (.cache, .lock) are now created in /dev/shm (Shared Memory).
    • Why: This eliminates constant writing to the SSD/SD card during every statistic update (once per second), which is critical for the longevity of flash storage on Raspberry Pi and other single-board computers.
    • Speed: Read/write operations in RAM are instantaneous.
  • Universal Compatibility:

    • Added a check for the existence of /dev/shm.
    • If the script is running on a system without Shared Memory (e.g., macOS or specific container environments), it automatically falls back to using /tmp.

🐛 Bug Fixes

  • Disk Statistics:
    • Improved parsing of the docker system df command.
    • Added handling for empty values: if Docker has not yet calculated the image sizes, the script now correctly displays 0B instead of an empty string or an error.

🌍 Localization

  • Synchronization:
    • All technical improvements have been ported to the English version of the script.

SLDM v1.2.3 Final Release — лучший bash-докер-менеджер 2025 года

🚀 Оптимизация и Железо (System & Hardware)

  1. Перенос кэша в RAM (/dev/shm):

    • Файлы кэша и блокировок (.cache, .lock) теперь создаются в /dev/shm (Shared Memory).
    • Зачем: Это исключает постоянную запись на SSD/SD-карту при каждом обновлении статистики (раз в секунду), что критически важно для долговечности флеш-памяти на Raspberry Pi и других микрокомпьютерах.
    • Скорость: Чтение/запись в оперативную память происходит мгновенно.
  2. Универсальная совместимость:

    • Добавлена проверка наличия /dev/shm.
    • Если скрипт запущен на системе без Shared Memory (например, macOS или специфичные контейнеры), он автоматически откатывается на использование /tmp.

🐛 Исправления ошибок (Bug Fixes)

  1. Статистика диска:
    • Улучшен парсинг команды docker system df.
    • Добавлена защита от пустых значений: если Docker еще не подсчитал размер образов, скрипт корректно выведет 0B вместо пустоты или ошибки.

🌍 Локализация

  1. Синхронизация:
    • Все технические улучшения перенесены в Английскую версию скрипта.

Full Changelog: v1.2.2...v1.2.3

SLDM v1.2.2 (Async Edition)

Choose a tag to compare

@rjohny55 rjohny55 released this 25 Nov 00:05
1697025

🇬🇧 English Version

📖 Overview

SLDM v1.2.2 (Async Edition) is a massive leap forward. It transforms a simple bash script into a professional monitoring dashboard. It uses a Smart Event Loop and Background Processing to calculate heavy statistics (like RAM usage) without freezing the interface.

🌟 Key Features

🚀 Performance & Architecture (New in v1.2)

  • Async Core: Memory calculations run in the background. The UI never freezes.
  • Smart Event Loop: Auto-refreshes data when calculations are done.
  • Zero-Lag Navigation: Switch pages and menus instantly, even with 100+ containers.

📊 Real-Time Monitoring

  • Host CPU Usage: Real-time processor load percentage.
  • RAM Usage: Shows Docker Memory / Total Host Memory.
  • Disk Stats: Accurate image size calculation using docker system df.

🖼️ & 🐳 Advanced Management

  • Live Search/Filter: Press / to filter images or containers by name instantly.
  • Docker Compose Support: Containers from Compose are marked with [C].
  • Wide View: Optimized table layout for long container names.
  • Actions: Stop, Start, Kill, Remove, Pull, Push (with secure login).
  • Quick Navigation: Jump between Images/Containers with 9.

🧹 Extended Cleanup

  • Images: Remove unused, dangling, or ALL images.
  • Containers: Stop & Delete in one go.
  • New: Prune Volumes and Networks.
  • New: Clear Build Cache. 🚀 Advantages & Performance

✨ Minimal Resource Usage

Pure Bash implementation - no additional dependencies
Low memory footprint (<10MB during operation)
Efficient process management without background services
Fast execution with optimized Docker API calls
No GUI overhead - pure terminal interface

📱 Mobile & Mini-Computer Optimized

✅ Raspberry Pi (all models)
✅ Orange Pi (all variants)
✅ Rock64 and other SBCs
✅ Atomic Pi and mini x86 systems
✅ Low-power ARM devices
✅ Embedded Linux systems

🛠️ Installation

Method 1: Direct Download

# Download
wget https://raw.githubusercontent.com/rjohny55/Simple-Linux-Docker-Manager/main/sldm

# Make executable
chmod +x sldm

# Run
./sldm


Method 2: Git Clone

git clone https://github.com/rjohny55/Simple-Linux-Docker-Manager.git
cd Simple-Linux-Docker-Manager
chmod +x sldm
./sldm

🎮 Hotkeys

Key Action
1-7 Select menu item
/ Search / Filter list
r Force Refresh & Recalculate RAM
n/p Next / Previous Page
9 Switch context (Images ↔ Containers)
h Show Help Modal
0 Back / Exit

🇷🇺 Русская Версия / Russian Version

📖 Обзор

SLDM v1.2.2 (Async Edition) — это полноценный TUI-инструмент для управления Docker. Главное отличие от обычных скриптов — асинхронное ядро. Скрипт не "виснет" при подсчете памяти контейнеров, а выполняет это в фоне, обновляя интерфейс на лету.

Идеальная замена lazydocker для слабых машин или серверов, где важна каждая мегабайт памяти.

🌟 Основные возможности

Read more

Simple-Linux-Docker-Manager v.1.0.3

Choose a tag to compare

@rjohny55 rjohny55 released this 19 Nov 01:09
9a5bb0e

v1.0.3 bug fix, add docker password limit and other update High Performance & Security Edition.

Simple-Linux-Docker-Manager v.1.0.1

Choose a tag to compare

@rjohny55 rjohny55 released this 13 Nov 13:41
9dc7a48

fix bugs, stats, sub menu

Simple-Linux-Docker-Manager

Choose a tag to compare

@rjohny55 rjohny55 released this 12 Nov 22:32
63597c0

Simple Linux Docker Manager 🐳

A powerful, lightweight command-line tool for managing Docker images and containers with a beautiful colorized interface. Optimized for low-resource environments like Raspberry Pi, Orange Pi, and other mini-computers.

English Version

📖 Overview

Docker Manager is an interactive bash script that provides a comprehensive interface for managing Docker resources. It features a colorized menu system that makes Docker management intuitive and safe, especially for users who prefer GUI-like interactions in the terminal.

✨ Now with Enhanced Performance & Mobile Optimization

🌟 Key Features

🖼️ Enhanced Image Management

  • View all images with creation dates, sizes, and pagination
  • Delete selected images by number with preview
  • Delete unused images (dangling and unused)
  • Delete ALL images (with safety confirmation)
  • Delete <none> tagged images (intermediate layers)
  • Delete Docker build cache
  • 🆕 Update selected images from registry (pull)
  • 🆕 Push images to repositories
  • 🆕 Smart pagination for large image collections

🐳 Advanced Container Management

  • View all containers with status, names, IP addresses, and memory usage
  • Stop selected containers by number
  • Delete selected containers by number
  • Stop and delete containers in one operation
  • Start selected containers by number
  • 🆕 Real-time container statistics (IP, memory, status)
  • 🆕 Paginated container lists

📊 System Monitoring

  • 🆕 Disk usage statistics for images
  • 🆕 Memory usage statistics for containers
  • 🆕 Real-time system resource monitoring
  • 🆕 Storage optimization insights

🎨 Interface Features

  • Color-coded output for better readability
  • Interactive number selection for operations
  • Safety confirmations for destructive operations
  • Cancel option in every operation
  • Real-time preview of what will be affected
  • 🆕 Bilingual support (English/Russian)

🚀 Advantages & Performance

✨ Minimal Resource Usage

  • Pure Bash implementation - no additional dependencies
  • Low memory footprint (<10MB during operation)
  • Efficient process management without background services
  • Fast execution with optimized Docker API calls
  • No GUI overhead - pure terminal interface

📱 Mobile & Mini-Computer Optimized

  • ✅ Raspberry Pi (all models)
  • ✅ Orange Pi (all variants)
  • ✅ Rock64 and other SBCs
  • ✅ Atomic Pi and mini x86 systems
  • ✅ Low-power ARM devices
  • ✅ Embedded Linux systems

⚡ Performance Benefits

  • Minimal CPU usage during idle
  • Efficient memory management
  • Fast startup and response times
  • Optimized for slow storage (SD cards)
  • Handles large numbers of images/containers efficiently

🛠️ Requirements

  • Bash 4.0 or higher
  • Docker installed and running
  • Linux environment (including WSL on Windows)

📦 Installation

Method 1: Direct Download (English Version)

# Download the English version
wget https://raw.githubusercontent.com/rjohny55/Simple-Linux-Docker-Manager/main/sldm.sh

# Make executable
chmod +x sldm.sh

# Run the script
./sldm.sh


Method 2: Git Clone (Both Versions)

<svg class="octicon octicon-link...

Read more