This is a SAAS tool for managing docker containers with GUI developed using Django, providing isolated development environments with a suite of base functions and packages for each user on the same machine.
This project combines the following repositories:
-
Traefik
This tool is used to proxy containers of multi-GUI NoVNC in the main port.
-
Django Dashboard
The dashboard of GUI container list is developed by using Django framework.
-
Nvidia Docker Checker
docker-compose.yml
contains service ofnvidia-cuda
and it's used to check the host can run Nvidia docker or not. -
NoVNC & SSH Support
Nvidia Docker support is available under certain conditions.
Ensure your system has Nvidia drivers installed and the Nvidia Docker runtime is set up correctly.
This feature is optional and can be enabled during container creation if your system meets the requirements.
Only support x86/64 linux-based machine.
In Windows, you need to use Docker in WSL.
Notice that you need to clone the submodule at the first.
git submodule update --init --recursive
Docker daemon must be running.
- Build GUI container.
cd gui && docker-compose build
- Back to the root of this repo and use command to start the web service.
docker network create d-gui-network
docker-compose build && docker-compose up -d
- Create a superuser for Django admin.
Check the script
./dev-create-superuser.sh
and change the username and password if you want.
bash dev-create-superuser.sh
- Go to http://localhost:8000/dashboard, it will show the login page.