Download scripts/clean.sh from CJR61/papi_cc: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/spaces/CJR61/papi_cc/resolve/a5ec00a6525a3ea20c112dfe4f265aa800b17ddf/scripts/clean.sh
- Command line
-
hf download hf://spaces/CJR61/papi_cc@a5ec00a6525a3ea20c112dfe4f265aa800b17ddf/scripts/clean.sh
-
curl -L -o clean.sh https://huggingface.co/spaces/CJR61/papi_cc/resolve/a5ec00a6525a3ea20c112dfe4f265aa800b17ddf/scripts/clean.sh
209 Bytes
| #!/bin/bash | |
| # 停止所有運行中的容器 | |
| docker stop $(docker ps -q) | |
| # 刪除所有容器 | |
| docker rm $(docker ps -aq) | |
| # 刪除所有未使用的映像、網路和捲(可選) | |
| docker system prune -af | |