A comprehensive terminal-based user interface for Docker container management.
- Container Management: View all Docker containers (running and stopped), start, stop, restart, kill containers
- Execute Shell: Execute bash shell in containers
- Log Viewer: View container logs with search and filtering capabilities
- Resource Monitoring: View container stats with real-time monitoring
- Multi-Resource Views: Browse containers, images, volumes, and networks
- Filtering & Sorting: Filter and sort resources by name and other criteria
- Container Creation: Interactive wizard to create new containers
- Docker Compose: Find and manage Docker Compose projects
- Environment Variables: Edit container environment variables
- Interactive Navigation: Full keyboard navigation with help system
-
Clone the repository:
git clone https://github.com/yourusername/docker-tui.git
-
Ensure Docker is installed and running on your system
-
Run the application:
python docker_tui.py # or for the enhanced version: python enhanced_docker_tui.py
The application provides an interactive terminal interface:
- Use arrow keys or
k/jto move up/down through items - Use
Tabto switch between different Docker resource views (containers, images, volumes, networks) - Use
C/cto manage Docker Compose projects - Use
F/fto filter resources by name
Enter: Execute bash shell in the selected containerR/r: Restart containerS/s: Stop containerD/d: Start containerK/k: Kill containerV/v: View logs (with search and filtering)T/t: Show statsM/m: Monitor real-time resource usageN/n: Create a new container using the wizardE/e: Edit container environment variables
G/g: Refresh container listH/h: Toggle helpQ/q: Quit application
- Python 3.6+
- Docker (with appropriate permissions to run Docker commands)
- Unix-like system (Linux/macOS) with curses support
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License