Overview
Lightd is a fast, cross-platform Docker daemon built with Rust and Axum, designed to manage containers without the hassle. It provides a comprehensive REST API and real-time WebSocket interface for container lifecycle management.Base URL
Default:http://localhost:8070
Key Features
- Container Management - Full lifecycle control (create, start, stop, restart, reinstall)
- Volume Management - Persistent storage with file operations and disk quotas
- Network Pool - Port allocation and management with bulk operations
- WebSocket Interface - Real-time container monitoring and control
- Remote Sync - Multi-server synchronization support
- Resource Limits - CPU and memory constraints with live updates
- Pattern Detection - Automatic server ready state detection
- Billing & Usage Tracking - Real-time resource monitoring and cost estimation
- Container Updates - Live resource updates without downtime
- SFTP File Access - Built-in SFTP server for secure file transfers
Authentication
All protected routes require Bearer token authentication:Quick Start
API Sections
Authentication
Token management and security
Volumes
Persistent storage and file operations
Network
Port allocation and management
Containers
Container lifecycle management
WebSocket
Real-time monitoring and control
Remote Sync
Multi-server synchronization
Billing
Usage tracking and cost estimation
Container Updates
Live resource updates without downtime
SFTP
Secure file access to container volumes
Response Format
Success Response
Error Response
Status Codes
200 OK- Request succeeded201 Created- Resource created successfully400 Bad Request- Invalid request parameters401 Unauthorized- Missing or invalid authentication403 Forbidden- Invalid vendor header or origin404 Not Found- Resource not found500 Internal Server Error- Server error
Container States
installing- Container is being created and installedready- Container is ready to startstarting- Container is starting uprunning- Container is running (pattern matched)stopping- Container is stoppingfailed- Installation or operation failed
Need Help?
Join our Discord
Get support from the community and developers