Skip to content

Commit

Permalink
Merge pull request #105 from Dstack-TEE/prune-images
Browse files Browse the repository at this point in the history
cvm: Pruning unused container images
  • Loading branch information
kvinwang authored Feb 10, 2025
2 parents 5517b3c + 45e664c commit 5e83c01
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 5e83c01

Please sign in to comment.