先保险一点的
docker rm `docker ps -a | grep Exited | awk '{print $1}'`
有些确实要删除,才加-f,强制删除
docker rm -f `docker ps -a | grep Exited | awk '{print $1}'`