Run docker prune every time docker updates

This commit is contained in:
Marko Korhonen 2022-08-01 11:15:30 +03:00
parent 99adba52d3
commit 69cabe05e5

View file

@ -145,7 +145,6 @@ update() {
{%@@ if profile == "Moria" @@%}
repo
docker-update
docker system prune --volumes -a
{%@@ endif @@%}
plugins
}
@ -172,6 +171,7 @@ update() {
fi
cd ..
done
docker system prune -af --volumes
}
if [ $# -eq 0 ]; then