OpenVM is a lightweight, web-based Docker container manager that provides users with isolated virtual environments accessible via a web terminal.
# Clone the repository
git clone https://github.com/GalTechDev/OpenVM.git
cd OpenVM
# Start with Docker Compose
docker-compose up -d
Then open http://localhost:5000ā and complete the setup wizard.
docker run -d \
--name openvm \
-p 5000:5000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v openvm_data:/app/data \
--privileged \
galteck/openvm:latest
# Clone the repository
git clone https://github.com/GalTechDev/OpenVM.git
cd OpenVM
# Create virtual environment
python -m venv venv
source venv/bin/activate # Linux/Mac
# or: venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
# Run the application
python web_app.py
/var/run/docker.sock)On first launch, OpenVM will:
OpenVM/
āāā web_app.py # Main Flask application
āāā docker_utils.py # Docker CLI wrapper
āāā manager.py # CLI user management tool
āāā server.py # SSH server (optional)
āāā templates/ # HTML templates
ā āāā login.html
ā āāā dashboard.html
ā āāā admin.html
ā āāā settings.html
ā āāā setup.html
āāā static/
ā āāā css/style.css
ā āāā js/
ā āāā terminal.js
ā āāā file_explorer.js
āāā Dockerfile
āāā docker-compose.yml
āāā requirements.txt
| Method | Endpoint | Description |
|---|---|---|
| GET | /admin | Admin dashboard |
| GET | /api/admin/users | List all users |
| POST | /api/admin/create_user | Create new user |
| POST | /api/admin/delete_user | Delete user |
| POST | /api/admin/container/create | Create container |
| POST | /api/admin/container/action | Start/stop/restart container |
| GET | /api/admin/system_stats | System resource stats |
| Method | Endpoint | Description |
|---|---|---|
| GET | /dashboard | User dashboard |
| POST | /api/container/<action> | Container actions |
| POST | /api/container/files | List files |
| POST | /api/container/upload | Upload file |
| GET | /api/container/download | Download file |
| Namespace | Events | Description |
|---|---|---|
/terminal | connect, input, resize, output | Terminal PTY connection |
app.secret_key in production!MIT License - See LICENSEā for details.
Content type
Image
Digest
sha256:074b2c7e2ā¦
Size
144.1 MB
Last updated
12 months ago
docker pull galteck/openvm