Skip to content

Commit

Permalink
cvm: Pruning unused images
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Feb 5, 2025
1 parent e85e60b commit f0bfcdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions basefiles/app-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ case "$RUNNER" in
tdxctl notify-host -e "boot.error" -d "failed to start containers"
exit 1
fi
echo "Pruning unused images"
docker image prune -af
echo "Pruning unused volumes"
docker volume prune -f
;;
"bash")
chmod +x /usr/bin/containerd-shim-runc-v2
Expand Down

0 comments on commit f0bfcdb

Please sign in to comment.