Skip to content

Commit

Permalink
lxc-docker: restore prune if pull is requested
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Oct 17, 2024
1 parent c96deba commit 8970154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/proxmox/docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if [ -e "volume/.pull" ]
then
rm -rf volume/.pull
PULL="--pull"
(sleep 300 && docker container prune -f && docker image prune -a -f) &
else
# always background pull in case there's a broken image.
(sleep 300 && docker compose pull && docker container prune -f && docker image prune -a -f) &
Expand Down

0 comments on commit 8970154

Please sign in to comment.