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

docker rm  -f $(docker ps -aq)

docker rmi $(docker images -q)

 

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