Mercurial > public > ssdt-docker
annotate scripts/updates-cleanup.sh @ 53:f3773b50a88e
add cleanup script to remove obsolete images
author | Dave smith <smith@nwoca.org> |
---|---|
date | Mon, 22 Feb 2016 21:21:16 -0500 |
parents | |
children | 334d65dac778 |
rev | line source |
---|---|
53
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
1 # |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
2 # Safely removes obsolete images from previous SSDT versions. |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
3 # |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
4 |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
5 docker images --filter "label=io.ssdt.app" --filter "dangling=true" -q | xargs docker rmi |
f3773b50a88e
add cleanup script to remove obsolete images
Dave smith <smith@nwoca.org>
parents:
diff
changeset
|
6 |