Rework soscmd-prune-docker command
This commit is contained in:
parent
ef3e134c11
commit
7d76f6b24f
1 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue