mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-10-09 08:50:17 +00:00
exclude benchmark image when excluding benchmark container
Signed-off-by: rezroo <rroodsari@mirantis.com>
This commit is contained in:
parent
50bfd11df9
commit
b997a98fe5
2 changed files with 6 additions and 1 deletions
|
@ -12,7 +12,7 @@ if [ -n "$imgList" ]; then
|
|||
images="$images $sha256 "
|
||||
done
|
||||
else
|
||||
images=$(docker images -q)
|
||||
images=$(docker images -q | grep -v $benchcontimg)
|
||||
fi
|
||||
|
||||
check_4() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue