Linux系统磁盘清理指南
清理日志:/var/log/journal/ 1
sudo journalctl --vacuum-size=100M
删除已停止的容器 1
docker container prune -f
删除 build cache(中间构建缓存、非常占空间):
1 | docker builder prune -a |
清理 dangling images(构建失败或被覆盖的层) 1
docker image prune
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
