Script to improve image pruning from Openshift nodes
pruneimages.sh perform the pruning of etcd objects from openshift master nodes. Then erase all docker containers that aren't running on node that the scrip has been launched and erase all images that are not attached to a container.
You should use a imageWhitelist.out file in same directory as script to inject image names that you don't want to be erased imageWhitelist.out should contain one line per image.
I.E.
openshift3/ose-pod
openshift3/ose-docker-builder
openshift3/ose-sti-builder
openshift3/ose-docker-registry
openshift3/ose-recycler
openshift3/ose-keepalived-ipfailover