soscmd/soscmd-prune-docker
2023-06-03 11:28:50 +02:00

9 lines
262 B
Bash
Executable file

#!/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