docker运行时间长了,或者是更新镜像了,会产生一堆无用的垃圾文件,用以下命令排查并释放空间:
一、查看Docker容器占用的存储空间(加参数"v"可以查看更具体信息)文章源自科派人 | PlanB的博客科派人-https://kper.net/1038.html
docker system df
二、删除未使用的数据卷(加参数"a"可以清除当前机器上没有被引用的镜像)文章源自科派人 | PlanB的博客科派人-https://kper.net/1038.html
docker system prune -a文章源自科派人 | PlanB的博客科派人-https://kper.net/1038.html文章源自科派人 | PlanB的博客科派人-https://kper.net/1038.html
我的微信
微信扫一扫

PlanXX
微信号已复制
微信公众号
微信扫一扫

PlanXX
公众号已复制