soscmd/soscmd-prune-docker

10 lines
262 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