Repository navigation
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.
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
- 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
- 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
- 🆕 Disk usage statistics for images
- 🆕 Memory usage statistics for containers
- 🆕 Real-time system resource monitoring
- 🆕 Storage optimization insights
- 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)
✨ 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
- Bash 4.0 or higher
- Docker installed and running
- Linux environment (including WSL on Windows)
# 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
git clone https://github.com/rjohny55/Simple-Linux-Docker-Manager.git
cd Simple-Linux-Docker-Manager# English version
chmod +x sldm.sh
./sldm.sh# Russian version
chmod +x sldm_ru.sh
./sldm_ru.sh
./sldm.sh
- 📦 Show all images - Display all Docker images with pagination and details
- 🐳 Show all containers - Display all containers with status and resource usage
- 🧹 Docker system cleanup - Comprehensive cleanup options
- Delete selected images - Choose specific images to remove
- Delete unused images - Clean up unused images
- Delete ALL images - Remove all images (requires confirmation)
- Delete images with
<none>tag - Clean intermediate layers - Delete Docker build cache - Free up build cache space
- 🆕 Update selected image - Pull latest version from registry
- 🆕 Push selected image - Push to Docker repository
- Stop selected containers - Stop running containers
- Delete selected containers - Remove containers
- Stop and delete containers - Combined operation
- Start selected containers - Start stopped containers
- Run the script:
./sldm.sh - Choose option 3 (Docker system cleanup)
- Select cleanup options as needed
- Run the script:
./sldm.sh - Choose option 2 (Show all containers)
- Choose delete operation
- Enter container numbers (e.g., 1 3 5)
- Confirm deletion
- Run the script:
./sldm.sh - Choose option 1 (Show all images)
- Use new update/push features
- Navigate pages if you have many images
- Double confirmation for dangerous operations
- Preview before deletion shows exactly what will be removed
- Cancel option available at every step
- Color-coded warnings for destructive operations
- 🆕 Russian keyboard layout support for confirmations
sudo cp sldm.sh /usr/local/bin/docker-manager
docker-manager # Now available anywhereecho "alias dm='./sldm.sh'" >> ~/.bashrc source ~/.bashrc dm # Quick access
MIT License - feel free to use this script in your projects!
MIT License - свободно используйте этот скрипт в своих проектах!
Contributions are welcome! Please feel free to submit a Pull Request.
Вклад приветствуется! Вы можете создавать Pull Request.
This
script performs destructive operations. Always ensure you have backups
and understand what you're deleting. The authors are not responsible for
any data loss.
Этот скрипт выполняет деструктивные операции. Всегда убеждайтесь, что у
вас есть резервные копии и вы понимаете, что удаляете. Авторы не несут
ответственности за потерю данных.
⭐ If you find this project useful, please give it a star!
⭐ Если вы находите этот проект полезным, пожалуйста, поставьте звезду!