docker ps -a lists all running containers. Delete all containers with an exit state of 1 docker ps -a | grep Exit | awk '{print $1}' | xargs docker rm Remove all containers, ignoring their current state docker ps -a -q | xargs docker rm If you observe stale NFS handles - reboot.