快速批量删除特定的Docker容器

快速批量删除特定的Docker容器

docker rm docker ps -a | grep Exited | awk '{print $1}'

https://git.ncucoder.com/snippets/5

docker rm `docker ps -a | grep Exited | awk '{print $1}'`

https://git.ncucoder.com/snippets/5

评论

Your browser is out-of-date!

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

×