mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
Merge pull request #64 from docker/diogo-small-label-nit
Changing description to match label
This commit is contained in:
commit
cbb6c97826
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ done
|
||||||
main () {
|
main () {
|
||||||
# List all running containers
|
# List all running containers
|
||||||
containers=$(docker ps -q)
|
containers=$(docker ps -q)
|
||||||
# If there is a container with label docker-bench-security, memorize it:
|
# If there is a container with label docker_bench_security, memorize it:
|
||||||
benchcont="nil"
|
benchcont="nil"
|
||||||
for c in $containers; do
|
for c in $containers; do
|
||||||
labels=$(docker inspect --format '{{ .Config.Labels }}' "$c")
|
labels=$(docker inspect --format '{{ .Config.Labels }}' "$c")
|
||||||
|
|
Loading…
Reference in a new issue