Rework soscmd-prune-docker command

This commit is contained in:
The StarOpenSource Project 2024-03-15 02:20:45 +01:00
parent ef3e134c11
commit 7d76f6b24f

View file

@ -1,5 +1,9 @@
#!/bin/bash
echo ":: Pruning docker system"
yes|docker system prune -a
echo ":: Recreating missing stuff"
docker network create pterodactyl_nw
echo ":: Pruning docker containers"
docker container prune
echo ":: Pruning docker images"
docker image prune --all
echo ":: Pruning docker networks"
docker network prune
echo ":: Pruning docker build cache"
docker buildx prune