Run docker prune every time docker updates

main
Marko Korhonen 2 years ago
parent 565b902df1
commit 523dc563b3
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5

@ -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

Loading…
Cancel
Save