v0.0.1
Pre-release
Pre-release
v0.0.1初始版:
目录结构
.
├── main.py
└── templates
└── index.html
使用方法
-
前期准备
- Python
- 安装Python
- 需要安装模块
Flask requests psutil- Docker
- 安装Docker
- 安装监听2375端口容器:socat
docker run -d --restart=always \ -p 127.0.0.1:2375:2375 \ -v /var/run/docker.sock:/var/run/docker.sock \ alpine/socat \ tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock -
运行 main.py
python main.py
