09 Sep 2025 1 min read DevOps docker image cahce 佔容量問題 某天QA部門反饋專案異常,下指令df 發現硬碟已經滿了。 尋了下 nginx 日誌,後來想到可能是docker cache ,就透過 docker system df 查詢目前使用狀況,可以發現確實是cache 將硬碟佔滿。 此時可以透過docker buildx prune -a -f 清除Build Cache 。