mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 06:22:32 +01:00
Merge pull request #69 from petersellars/master
Fix filtering out docker-bench-security container from results.
This commit is contained in:
commit
3571e2738e
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ done
|
|||
# Load all the tests from tests/ and run them
|
||||
main () {
|
||||
# List all running containers
|
||||
containers=$(docker ps -q)
|
||||
containers=$(docker ps | sed '1d' | awk '{print $NF}')
|
||||
# If there is a container with label docker_bench_security, memorize it:
|
||||
benchcont="nil"
|
||||
for c in $containers; do
|
||||
|
|
Loading…
Reference in a new issue