π Flask-Docker-Management Kawaii Dashboard π
This repository is a super cute Flask web application designed for managing Docker containers and providing system information πβ¨
-
Dashboard:
- Accessible at the root (
/
) and/docker
. - Provides a delightful and informative user interface π
- Accessible at the root (
-
Docker Information:
/api/docker-info
endpoint delivers essential Docker details:- Running containers count πββοΈ
- Current installed images πΌοΈ
- Total containers π¦
-
Server Information:
/api/server-info
endpoint offers real-time server information:- CPU usage π»
- RAM usage π§
-
Docker Container Management:
/api/docker-manage/list
endpoint lists all Docker containers. π/api/docker-manage/startcontainer
starts a specified container. π/api/docker-manage/stopcontainer
stops a specified container. β/api/docker-manage/createcontainer
creates a new Docker container. π/api/docker-manage/deletecontainer
deletes a specified Docker container. ποΈ/api/docker-manage/createNetwork
creates a Docker network. π/api/docker-manage/searchImage
searches Docker Hub for images. π/api/docker-manage/pullImage
pulls a Docker image. π/api/docker-manage/installedImages/list
lists installed Docker images. πΈ/api/docker-manage/network/getNetworks
lists Docker networks. π
-
Miscellaneous:
/api/misc/random-name
endpoint generates a random kawaii name. π
- Flask: Lightweight web framework.
- Docker-Py: Python API for Docker.
- Psutil: Cross-platform library for system monitoring.
- Requests: HTTP library for sending requests.
- Clone the repository. π
- Install dependencies:
pip install -r requirements.txt
π οΈ - Run the Flask app:
python app.py
π
Feel free to explore, contribute
- Keqing (Denizuh)