A beautiful terminal UI to manage Docker containers and images without stress. Written in Go with Bubbletea ๐ง
Compatible with both Windows and Linux containers through Docker.
- ๐ Container Management: View all Docker containers (running and stopped)
- ๐ฆ Image Management: View all Docker images with details
- ๐ Container Inspection: View detailed information including:
- Container ID and Image
- CPU and Memory limits
- Network configuration
- Environment variables
- ๐ผ๏ธ Image Inspection: View detailed information including:
- Image name and ID
- Size and creation date
- ๐ Cross-Platform: Works on both Windows and Linux with Docker installed
- โก Real-time Updates: Live container and image status
- ๐จ Beautiful TUI: Clean, modern terminal interface
- Docker installed and running
- Go 1.20+ (for building from source)
git clone https://github.com/VinsmokeSomya/PuffyContainer.git
cd PuffyContainer
go build -o puffycontainer.exe ./cmd # Windows
go build -o puffycontainer ./cmd # Linux/macOS
git clone https://github.com/VinsmokeSomya/PuffyContainer.git
cd PuffyContainer
go mod tidy
go run cmd/main.go
Start the terminal UI:
./puffycontainer.exe # Windows
./puffycontainer # Linux/macOS
Key | Action |
---|---|
โ / โ |
Navigate up/down in tables |
Tab |
Switch between Containers and Images |
Enter |
View detailed information |
q / Ctrl+C |
Exit application |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Containers โโ Container/Image Details โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ running nginx:latest โโ ID: abc123... โ
โ stopped redis:alpine โโ Image: nginx:latest โ
โ โโ CPU: 2 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Memory: 512MB โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Networks: bridge: 172.17.0.2 โ
โ Images โโ Environment: PATH=/usr/local/bin... โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ nginx latest โโ โ
โ redis alpine โโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The application uses standard Docker CLI commands:
docker ps -a
- List all containersdocker images
- List all imagesdocker inspect
- Get detailed information about containers/images
- Windows: Works with Docker Desktop or Docker Engine
- Linux: Works with Docker Engine
- Windows Containers: Supported when Docker is configured for Windows containers
- Linux Containers: Supported when Docker is configured for Linux containers
The application is built with:
- Bubble Tea - TUI framework
- Bubbles - TUI components
- Lipgloss - Styling
# Clone the repository
git clone https://github.com/VinsmokeSomya/PuffyContainer.git
cd PuffyContainer
# Install dependencies
go mod tidy
# Build for your platform
go build -o puffycontainer ./cmd
# Or build for specific platforms
GOOS=windows GOARCH=amd64 go build -o puffycontainer.exe ./cmd
GOOS=linux GOARCH=amd64 go build -o puffycontainer ./cmd
GOOS=darwin GOARCH=amd64 go build -o puffycontainer ./cmd
Problem | Solution |
---|---|
No containers/images showing | Ensure Docker is running and you have containers/images available |
Permission errors | On Linux, ensure your user is in the docker group or run with sudo |
Command not found | Ensure Docker is installed and in your PATH |
Application crashes | Check Docker daemon is running and accessible |
Contributions are welcome! Feel free to submit a pull request or open an issue for any suggestions or improvements.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Give a โญ๏ธ if this project helped you!
- GitHub: @VinsmokeSomya
- Repository: PuffyContainer