Skip to content
Snippets Groups Projects
Commit ab6c1fab authored by Borreguero Calvo, Jose's avatar Borreguero Calvo, Jose
Browse files

don't forget to prune volumes

parent 0b3ab7da
No related branches found
No related tags found
1 merge request!2don't forget to prune volumes
......@@ -25,6 +25,7 @@ func_rse_docker_cleanup() {
docker stop $(docker ps -aq) 2>/dev/null || true
docker rm $(docker ps -a -q) 2>/dev/null || true
docker rmi $(docker images -q) 2>/dev/null || true
docker volume prune --force || true
docker image prune -fa || sudo systemctl restart docker
docker system prune -fa || sudo systemctl restart docker
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment