soscmd/soscmd-prune-docker

12 lines
334 B
Text
Raw Normal View History

2023-06-03 11:28:50 +02:00
#!/bin/bash
echo ":: Pruning docker containers"
docker container prune --force
echo ":: Pruning docker images"
docker image prune --force
echo ":: Pruning docker volumes"
docker volume prune --force
echo ":: Pruning docker networks"
docker network prune --force
echo ":: Adding required docker networks"
docker network create runner0