Docker 批量删除镜像或容器

# 删除所有<none>镜像
docker rmi `docker images | grep '<none>' | awk '{print $3}'`

# 删除所有已退出的容器
docker rm `docker ps -a | grep Exited | awk '{print $1}'`
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×

g=TeX-MML-AM_CHTML" defer>