docker一键删除所有容器和镜像命令

docker rm  -f $(docker ps -aq)

docker rmi $(docker images -q)

 

posted @ 2022-06-08 09:37  yzeng  阅读(155)  评论(0编辑  收藏  举报