Remove docker exited containers
docker rm $( docker ps -f "status=exited" -q )
Shamelessly ripped off from: https://coderwall.com/p/zguz_w/docker-remove- all-exited-containers
Preserving for the future: Shell scripts, AoC, and more
docker rm $( docker ps -f "status=exited" -q )
Shamelessly ripped off from: https://coderwall.com/p/zguz_w/docker-remove- all-exited-containers
Comments