I wrote this four years ago, so instead use this command:
$ docker rmi $(docker images -q -f dangling=true)
| #!/bin/bash | |
| # | |
| # chkconfig: 35 95 05 | |
| # description: Hello world application. | |
| # Run at startup: sudo chkconfig hello-world on | |
| # Load functions from library | |
| . /etc/init.d/functions |