Professional Docker template management for Unraid with modern web interface
π Quick Start β’ π Documentation β’ π Report Bug β’ π‘ Request Feature
Docker Template Manager is a professional-grade web application designed specifically for Unraid users who want to efficiently manage their Docker templates, containers, and backups. Built with modern web technologies and following professional development standards, it provides a clean, intuitive interface for organizing your Docker ecosystem.
Docker Template Manager isn't just another Docker management tool - it's a comprehensive solution built specifically for the Unraid ecosystem. Unlike generic Docker managers, it understands Unraid's unique template system and provides specialized tools for managing your home lab infrastructure.
- Simplicity First - Complex Docker management made simple
- Unraid Native - Built specifically for Unraid's template system
- Professional Grade - Enterprise-level features for home lab users
- User-Centric - Designed by Unraid users, for Unraid users
- π§Ή Clean Up Clutter - Identify and remove unused Docker templates automatically
- π Professional Dashboard - Get insights into your Docker environment at a glance
- π Container Management - Start, stop, and restart containers with ease
- πΎ Backup & Restore - Create and manage backups of your templates and containers
- π¨ Modern UI - Professional interface with dark/light theme support
- π± Mobile Responsive - Works perfectly on desktop, tablet, and mobile devices
- π Secure - API key authentication and secure file operations
- β‘ Fast - Optimized for performance with sortable tables and bulk operations
- π Home Lab Enthusiasts - Manage complex Docker setups with ease
- β‘ Unraid Power Users - Advanced template and container management
- π§ System Administrators - Professional Docker management tools
- π Learning Users - Understand and organize your Docker ecosystem
- π Power Users - Bulk operations and advanced features
- π± Mobile Users - Full functionality on any device
- π Real-time Statistics - Live container and template metrics
- π Quick Actions - One-click access to common operations
- π System Overview - Complete Docker environment visibility
- π± Responsive Design - Perfect on desktop, tablet, and mobile
- π Hybrid Editor - Form-based editing with raw XML fallback
- π Advanced Search - Find templates by name, repository, or tags
- π Sortable Tables - Organize by name, size, date, or status
- ποΈ Bulk Operations - Select multiple templates for batch actions
- π§Ή Cleanup Tools - Identify and remove unused templates
- π Lifecycle Control - Start, stop, restart containers with one click
- π Status Monitoring - Real-time container state and health
- ποΈ Bulk Actions - Manage multiple containers simultaneously
- π± Mobile Controls - Full container management on mobile devices
- π Automated Backups - Schedule and manage template backups
- π¦ Export/Import - Share templates between Unraid systems
- π Migration Tools - Built-in guides for common scenarios
- π Backup Analytics - Track backup sizes and frequencies
- π Theme Support - Dark and light modes with system detection
- π± Mobile Optimized - Touch-friendly interface for all devices
- β‘ Performance - Optimized for speed and responsiveness
- π Security - API key authentication and secure operations
- Native Integration - Works seamlessly with Unraid's template system
- Unraid-Specific Features - Tools designed for Unraid workflows
- Template Compatibility - Supports all Unraid template formats
- Community Focused - Built by and for the Unraid community
- React Frontend - Modern, responsive user interface
- Flask Backend - Fast, secure API with Python
- Docker Native - Built with Docker best practices
- Professional Standards - Enterprise-grade code quality
- π Built-in Guides - Migration and setup documentation
- π― Quick Start - Get running in minutes
- π§ Advanced Usage - Power user features and tips
- π‘ Best Practices - Professional Docker management guidance
- Apps β Community Applications β Search "Docker Template Manager"
- Install β Leave all default settings (they're correct!)
- Set your API Key in environment variables (or leave empty for auto-generate)
- Click Apply
- Check Docker logs for your API key if auto-generated
- Click WebUI β Enter your API key β Done!
That's it! π
For developers and contributors, you can run the application locally:
# Clone the repository
git clone https://github.com/Qballjos/docker-template-manager.git
cd docker-template-manager
# Start local development environment
docker-compose -f docker-compose.local.yml up -d --build
# Access the application
open http://localhost:8889Local Development Features:
- β Hot Reload: Changes to CSS/JS are reflected immediately
- β Test Templates: Pre-configured test templates for development
- β Debug Mode: Enhanced logging and error reporting
- β API Testing: Full API access for testing features
Local Development Commands:
# Rebuild container with latest changes
docker-compose -f docker-compose.local.yml up -d --build
# View application logs
docker-compose -f docker-compose.local.yml logs -f
# Stop local development
docker-compose -f docker-compose.local.yml down
# Access container shell for debugging
docker exec -it docker-template-manager-local /bin/bashCreate a docker-compose.yml file:
version: '3.8'
services:
docker-template-manager:
image: ghcr.io/qballjos/docker-template-manager:latest
container_name: docker-template-manager
ports:
- "8889:8889"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /boot/config/plugins/dockerMan/templates-user:/templates:rw
- /mnt/user/appdata/docker-template-manager/backups:/backups:rw
- /mnt/user/appdata/docker-template-manager/config:/config:rw
environment:
- TZ=Europe/Amsterdam
- TEMPLATE_DIR=/templates
- BACKUP_DIR=/backups
- CONFIG_DIR=/config
- BACKUP_RETENTION_DAYS=30
- AUTO_CLEANUP_ENABLED=false
- API_KEY=your-secure-api-key-here
restart: unless-stoppeddocker run -d \
--name docker-template-manager \
-p 8889:8889 \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /boot/config/plugins/dockerMan/templates-user:/templates:rw \
-v /mnt/user/appdata/docker-template-manager/backups:/backups:rw \
-v /mnt/user/appdata/docker-template-manager/config:/config:rw \
-e TZ=Europe/Amsterdam \
-e TEMPLATE_DIR=/templates \
-e BACKUP_DIR=/backups \
-e CONFIG_DIR=/config \
-e API_KEY=your-secure-api-key-here \
--restart unless-stopped \
ghcr.io/qballjos/docker-template-manager:latest- Visual Statistics - Comprehensive overview with pie charts
- Real-time Data - Live container and template counts
- Health Monitoring - Template usage and container status
- Quick Actions - One-click navigation to all sections
- Smart Search & Filter - Find templates instantly with real-time search
- Sortable Tables - Click column headers to sort by name, size, date, status
- Template Editor - Hybrid form-based and raw XML editing
- Bulk Operations - Select multiple templates for batch actions
- Cleanup Tools - Safely remove unused templates with backup
- Template Matching - Auto-detect which templates are in use
- Container Controls - Start, stop, restart containers directly
- Sortable Container List - Sort by name, image, state
- Bulk Container Actions - Stop/restart multiple containers
- Container Status - Real-time running/stopped status
- Template Association - See which containers have templates
- One-Click Backups - Backup all templates and container configs
- Automatic Naming - Timestamped backup files
- Restore Functionality - Restore templates from backups
- Backup Management - List, delete, and restore backups
- π¨ Improved Form Styling - Fixed white background with white text issues in form fields
- π― Better Button Colors - Replaced bright orange selection buttons with subtle grey colors
- β¨οΈ Fixed Input Focus - Form fields now maintain focus while typing (no more deselection)
- π Single Scrollbar - Eliminated double scrollbars in the template editor
- ποΈ Enhanced Readability - Improved text contrast and visibility throughout the interface
- CSS Architecture - Replaced inline styles with proper CSS classes using theme variables
- JavaScript Optimization - Fixed variable name conflicts in form handlers
- Theme Consistency - All UI elements now use consistent theme colors
- Accessibility - Better color contrast and form field accessibility
- Performance - Optimized form rendering and reduced unnecessary re-renders
- Professional Design - *arr-style sidebar navigation
- Theme Toggle - Dark/Light mode with persistence
- Mobile Responsive - Hamburger menu and touch-friendly design
- Sortable Tables - Click any column header to sort
- Visual Indicators - Clear status badges and icons
- Keyboard Shortcuts - Power user navigation
- Sortable Tables - Click any column header to sort data
- Hybrid Template Editor - Form-based editing with XML toggle
- Bulk Operations - Select multiple items for batch actions
- Professional Button Styling - Consistent UI across all sections
- Enhanced Container Management - Direct container controls
- Improved Navigation - Clickable dashboard cards
Your API key is required for security. You have two options:
Option 1: Auto-Generate (Easiest)
- Install with empty
API_KEYvariable - Check Docker logs: Docker tab β Container icon β Logs
- Find:
Generated temporary key: xxxxx - Save this key for accessing the WebUI
Option 2: Custom Key
- Generate:
openssl rand -base64 32 - Add to container's
API_KEYenvironment variable - Use this key in the WebUI
Finding Your Key:
- Unraid: Docker tab β Container icon β Logs
- Environment: Check your container's
API_KEYvariable
Visual Statistics:
- Template Health - Pie chart showing matched vs unused templates
- Container Status - Running vs stopped containers
- Backup Count - Total backups available
- Quick Navigation - Click any stat card to jump to that section
Templates Tab:
- Search - Real-time search by template name or container name
- Filter - All/Matched/Unused templates
- Sort - Click column headers to sort by:
- Status - Matched/Unused
- Template - Filename (A-Z)
- Container - Associated container name
- Size - File size (largest first)
- Modified - Date (newest first)
- Bulk Actions - Select multiple templates for batch operations
- Individual Actions - Click template row to see actions underneath
Template Editor:
- Form Mode - User-friendly form fields for easy editing
- Raw XML Mode - Toggle to edit XML directly
- Port Management - Add/remove port mappings
- Volume Management - Add/remove volume mounts
- Environment Variables - Add/remove environment settings
Containers Tab:
- Sort - Click column headers to sort by:
- Name - Container name (A-Z)
- Image - Docker image name
- State - Running/Stopped status
- Individual Actions - Click container row to see actions underneath
- Bulk Actions - Select multiple containers for batch operations
- Container Controls - Start, stop, restart containers directly
Create Backup:
- Backups tab β Create Backup
- Automatic timestamped naming
- Includes all templates and container configurations
Restore Backup:
- Backups tab β Find your backup
- Click Restore
- Templates restored to original location
Backup Management:
- List Backups - See all available backups
- Delete Backups - Remove old backups
- Restore - Restore from any backup
| Path | Default | Purpose |
|---|---|---|
| Templates | /boot/config/plugins/dockerMan/templates-user |
Unraid templates |
| Backups | /mnt/user/appdata/docker-template-manager/backups |
Backup storage |
| Config | /mnt/user/appdata/docker-template-manager/config |
App settings |
Don't change these unless you have custom template locations!
| Variable | Default | Description |
|---|---|---|
API_KEY |
Auto-generated | Authentication key (required) |
ALLOWED_ORIGINS |
Auto-set | CORS security |
TZ |
America/New_York | Your timezone |
FLASK_DEBUG |
false | Keep false for security! |
Problem: API key missing or incorrect
Solution:
- Check Docker logs for your API key
- Clear browser cache
- Try incognito/private window
- Re-enter API key
Problem: Path configuration incorrect
Solution:
- Default path:
/boot/config/plugins/dockerMan/templates-user - Verify:
ls -la /boot/config/plugins/dockerMan/ - If custom location, update path in container settings
Problem: Container or port issue
Solution:
- Container running? (green dot in Docker tab)
- Port 8889 free? (not used by another app)
- API key correct?
- Browser cache cleared?
Solution:
- Check Docker logs first (usually there)
- Or regenerate: Stop β Clear
API_KEYβ Start β Check logs - New key auto-generated
Problem: Browser cache
Solution:
- Hard refresh: Ctrl+F5 (Windows) or Cmd+Shift+R (Mac)
- Clear browser cache
- Force update container
- Docker tab β Check for Updates
- If available, click Update
- API key preserved automatically
- Hard refresh browser (Ctrl+F5)
- v1.4.0 (Current) - Sortable tables, hybrid template editor, bulk operations, professional styling
- v1.3.0 - Professional UI, theme toggle, container controls, migration guides
- v1.2.0 - Search/filter, pie chart, improved UX
- v1.1.0 - Security hardening, API authentication
- v1.0.0 - Initial release
- β API Key Authentication - All endpoints secured
- β Path Traversal Prevention - No directory attacks
- β Input Validation - All inputs sanitized
- β Security Headers - XSS, MIME-sniffing, clickjacking protection
- β CORS Protection - Restricted to your Unraid IP
- β Updated Dependencies - Latest secure versions
- β No Debug Mode - Disabled in production
- Keep API key private - It's like a password
- Don't expose to internet - Local network only
- Use VPN for remote access
- Update regularly - Check for updates monthly
- Monitor logs - Check for unusual activity
Your API key = Your password. Keep it safe!
- Ctrl+F - Focus search box
- Escape - Clear search
- Arrow Keys - Navigate tables
- Unraid Forums: Search "Docker Template Manager"
- GitHub Issues: Report bugs
- Security Issues: See SECURITY.md
- SECURITY.md - Security details
- CHANGELOG.md - Version history
- docs/api.md - API reference
Upcoming features being considered:
- Scheduled Backups - Automated backup scheduling
- Template Cloning - Copy and modify existing templates
- Advanced Search - Search within template content
- Export/Import - Share templates between systems
- Container Logs - View container logs directly
- Template Validation - Validate XML before saving
- Bulk Template Operations - Mass edit multiple templates
MIT License - Feel free to use and modify
Built for the Unraid community to make Docker template management easier and safer.
Community Apps: Available in Unraid Community Applications
Current Version: 1.4.0
Unraid Tested: 6.11+
Status: β
Production Ready
Security: β
All vulnerabilities fixed
Features: β
Sortable Tables | Hybrid Editor | Bulk Operations