A powerful and scalable npm library for managing Docker applications of any size.
๐ Complete Documentation โข ๐ Quick Start โข ๐ฎ Interactive Menu
Docker Pilot is a modern TypeScript library that makes Docker container management simple, powerful, and fun. From small projects to enterprise systems, it provides an intuitive CLI and programmatic API.
- ๐ฎ Interactive Terminal Menu - Navigate commands with ease
- ๐ Smart Compose Management - Recursive discovery and analysis of docker-compose files
- ๐ฏ Intelligent Project Detection - Auto-detect compose files with smart prioritization
- ๐ Multi-language Support - Portuguese & English with complete i18n
- ๐ฆ TypeScript Native - Full type safety and IntelliSense
- โก Zero Configuration - Works out of the box
- ๐ Plugin System - Extensible architecture
- ๐ Real-time Monitoring - Status, logs, and metrics
- ๐ Advanced File Analysis - Validate, analyze, and manage compose files
# Install globally for CLI
npm install -g docker-pilot
# Or locally for your project
npm install docker-pilot
# Start interactive menu
docker-pilot
# Or use direct commands
docker-pilot up # Start all services
docker-pilot status # Check status
docker-pilot logs app # View logs
docker-pilot compose list # List all compose files
docker-pilot compose analyze # Analyze compose structure
docker-pilot compose validate # Validate compose files
import { DockerPilot } from 'docker-pilot';
const pilot = new DockerPilot();
await pilot.initialize();
await pilot.up(); // Start services
const status = await pilot.status(); // Get status
Docker Pilot now provides comprehensive docker-compose file management with intelligent discovery:
# List all compose files recursively
docker-pilot compose list --variants
# Analyze compose file structure
docker-pilot compose analyze docker-compose.yml
# Validate compose files
docker-pilot compose validate
# Find compose files in complex projects
docker-pilot compose find /path/to/project
Smart Discovery Features:
- ๐ Recursive Search: Finds compose files up to 6 levels deep
- ๐ฏ Smart Prioritization: Identifies main files vs. environment variants
- ๐ Detailed Analysis: Shows services, ports, dependencies, and file info
- ๐ Environment Detection: Recognizes dev, prod, test variants automatically
- โ Real-time Validation: Syntax and structure validation with detailed reports
Starting Docker Pilot now automatically detects your project structure:
๐ Searching for docker-compose files recursively...
๐ Search depth: 6 levels
Found 3 docker-compose files:
1. docker-compose.yml ๐ฏ๐
๐ 2.1 KB | ๐
22/06/2025
๐ ๏ธ 4 services: web, api, database, redis
2. backend/docker-compose.dev.yml (development) ๐(2)
๐ 1.8 KB | ๐
21/06/2025
๐ ๏ธ 2 services: api-dev, database-dev
Docker Pilot's standout feature is its interactive terminal menu that makes Docker management intuitive:
$ docker-pilot
๐ณ My Project - Docker Pilot v2.0 ๐ณ
๐ Basic Commands:
1. Start all services
2. Stop all services
3. Restart all services
4. Rebuild and start all services
5. View logs of all services
6. View services status
๐ ๏ธ Advanced Commands:
7. Open shell in service
8. Check services health
9. Monitor in real time
10. Update all images
โ๏ธ Maintenance:
11. Clean unused resources
12. Deep clean
13. Show configuration
๐ง App:
14. Start app
15. Restart app
16. View app logs
Choose your option: โ
Docker Pilot automatically detects your system language and provides full localization:
- ๐บ๐ธ English - Complete interface
- ๐ง๐ท Portuguรชs - Interface completa
Switch languages on-the-fly through the advanced settings menu!
- Node.js >= 18.0.0
- Docker >= 20.0.0
- Docker Compose >= 2.0.4
๐จโ๐ป Developers
- Quick project setup
- Development workflow automation
- Multi-service management
- Interactive debugging
๐ข Teams & Enterprise
- Standardized Docker workflows
- Multi-environment support
- Automated backups
- Performance monitoring
Docker Pilot works with zero configuration, but you can customize it:
{
"projectName": "My Amazing App",
"language": "en", // or "pt-br"
"services": {
"app": {
"port": 3000,
"description": "Main application"
},
"database": {
"port": 5432,
"description": "PostgreSQL database"
}
}
}
๐ณ Native Docker | ๐ฎ Interactive | ๐ Global | ๐ Modern |
---|---|---|---|
Built specifically for Docker workflows | Terminal UI that's actually enjoyable | Multi-language from day one | TypeScript, ES6+, latest standards |
๐ Extensible | ๐ Intelligent | ๐ก๏ธ Reliable | โก Fast |
---|---|---|---|
Plugin system for custom needs | Auto-detection and smart defaults | Battle-tested error handling | Optimized for performance |
Complete documentation is available at: https://Jonhvmp.github.io/docker-pilot/
- ๐ Getting Started Guide
- ๐ฎ Interactive Menu Guide
- ๐ API Reference
- ๐ Plugin Development
- ๐ Internationalization
We welcome contributions! Please see our Contributing Guide for details.
Docker Pilot is ISC licensed.
Made with โค๏ธ by Jonhvmp โข JA Solutions Engine
๐ If Docker Pilot helps you, please give it a star! ๐