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
|
#!/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
|
||||||
|
|
Loading…
Reference in a new issue