shell script to remove exited containers code example Example: docker remove all exited containers docker container prune