Mercurial > public > ssdt-docker
comparison scripts/d-images.ps @ 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 |
comparison
equal
deleted
inserted
replaced
57:99efff8e5337 | 58:fd8c9e7950d3 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 docker images --format="table {{.Repository}}\t{{.Tag}}\t{{.Label \"io.ssdt.id\"}}\t{{.Label \"io.ssdt.app\"}}\t{{.Label \"io.ssdt.type\"}}" $@ | 2 docker images --filter "label=io.ssdt.id" -q | xargs docker inspect --format "{{.RepoTags}} {{index .Config.Labels \"io.ssdt.id\"}}" --type image |
3 | 3 |
4 | 4 |