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 #!/bin/bash
echo ":: Pruning docker system" echo ":: Pruning docker containers"
yes|docker system prune -a docker container prune
echo ":: Recreating missing stuff" echo ":: Pruning docker images"
docker network create pterodactyl_nw docker image prune --all
echo ":: Pruning docker networks"
docker network prune
echo ":: Pruning docker build cache"
docker buildx prune