Spaces:
Paused
Paused
Download confirm_remove.sh from TonyWang2233/open-webui: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/TonyWang2233/open-webui/resolve/main/confirm_remove.sh
- Command line
-
hf download hf://spaces/TonyWang2233/open-webui/confirm_remove.sh
-
curl -L -o confirm_remove.sh https://huggingface.co/spaces/TonyWang2233/open-webui/resolve/main/confirm_remove.sh
356 Bytes
| echo "Warning: This will remove all containers and volumes, including persistent data. Do you want to continue? [Y/N]" | |
| read ans | |
| if [ "$ans" == "Y" ] || [ "$ans" == "y" ]; then | |
| command docker-compose 2>/dev/null | |
| if [ "$?" == "0" ]; then | |
| docker-compose down -v | |
| else | |
| docker compose down -v | |
| fi | |
| else | |
| echo "Operation cancelled." | |
| fi | |