Mercurial > public > ssdt-docker
changeset 58:fd8c9e7950d3
use inspect to display ssdt id's
author | smith@nwoca.org |
---|---|
date | Wed, 09 Mar 2016 01:09:12 +0000 |
parents | 99efff8e5337 |
children | 8c63436837f9 |
files | scripts/d-images.ps |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/d-images.ps Wed Mar 09 00:45:02 2016 +0000 +++ b/scripts/d-images.ps Wed Mar 09 01:09:12 2016 +0000 @@ -1,4 +1,4 @@ #!/bin/bash -docker images --format="table {{.Repository}}\t{{.Tag}}\t{{.Label \"io.ssdt.id\"}}\t{{.Label \"io.ssdt.app\"}}\t{{.Label \"io.ssdt.type\"}}" $@ +docker images --filter "label=io.ssdt.id" -q | xargs docker inspect --format "{{.RepoTags}} {{index .Config.Labels \"io.ssdt.id\"}}" --type image