docker-clean
Clean up unused docker containers and images
npm install docker-clean
Or to install the command line tool
npm install -g docker-clean
docker-clean --help
Usage
var clean =// or to force remove running containers as well
Other options include
host: 'optional-docker-host' // override $DOCKER_HOSTimages: false // do not remove imagescontainers: false // do not remove containersforce: true // also remove running containers
License
MIT