文章目录 前言一、磁盘空间1.docker system df2.docker system prune3.docker system prune -a 二、Docker镜像1.docker image ls -a2.docker image rm <name_or_id> 三、Docker容器1.docker container ls -a2.docker container stop <name_or_id>3.docker container rm <name_or_id> 四、Docker网络1.docker network ls2.docker network rm <name_or_id> 五、磁盘卷1.docker network ls2.docker volume rm <name>3.docker volume prune 六、最后1.docker system prune -a --volumes 牢里蹲提示:进行删除操作前,一定要备份!!!总结