定位Docker占用过多磁盘空间的问题
定位爆闪存问题
从根目录开始使用du -h --max-depth=1一级一级往下找,最终定位到/var/lib/docker/overlay2占用了过多空间docker system df -v列出所有images、containers、volumes所占用的大小,发现是有一个volume占用了过多,而且并不属于任何一个container
问题解决
1 | docker system prune |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
