因为docker的空间回收策略保守,需要手动命令docker删除废弃的文件 step1:打开所有需要用的docker step2:输入 sudo docker system prune -a 效果:会删除所有未打开的容器及对应镜像