view scripts/updates-cleanup.sh @ 157:018f62da1931

DEP-12: add docker version. prevent pulling updates for dangling images
author smith@nwoca.org
date Mon, 31 Jul 2017 20:49:53 +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