Skip to content

Commit

Permalink
Update prune
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored Dec 24, 2019
1 parent 7ef225b commit 8b212f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu/alias/templates/prune
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ if [[ "$docker" -eq "1" ]]; then
if [[ "$docker" -gt "0" ]]; then
echo "Cleaning up Docker dangling volumes." >>/var/plexguide/docker-cleanup.log
docker volume rm $(docker volume ls -qf dangling=true) >>/var/plexguide/docker-cleanup.log
docker image prune -a -f >>/var/plexguide/docker-cleanup.log
docker system prune --volumes -a -f >>/var/plexguide/docker-cleanup.log
#docker image prune -a -f >>/var/plexguide/docker-cleanup.log
#docker system prune --volumes -a -f >>/var/plexguide/docker-cleanup.log
else
echo "No Docker dangling volumes found." >>/var/plexguide/docker-cleanup.log
fi
Expand Down

0 comments on commit 8b212f7

Please sign in to comment.