view scripts/updates-cleanup.sh @ 67:a1907dab3f65

add script to capture log files from compose containers
author smith@nwoca.org
date Fri, 18 Mar 2016 01:10:46 +0100
parents 334d65dac778
children fea886ba7279
line wrap: on
line source
#!/bin/bash
#
# Safely removes obsolete images from previous SSDT versions.
#

docker images --filter "label=io.ssdt.app" --filter "dangling=true" -q | xargs docker rmi