mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Fix filtering out docker-bench-security container from results
Signed-off-by: Pete Sellars <psellars@gmail.com>
This commit is contained in:
parent
3e6636c044
commit
57ac3cee99
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