docker / docker-bench-security

The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
Apache License 2.0
9.17k stars 1.02k forks source link

add support for .NanoCpus #511

Closed konstruktoid closed 1 year ago

konstruktoid commented 1 year ago

Signed-off-by: Thomas Sjögren konstruktoid@users.noreply.github.com

melroy89 commented 1 year ago

Indeed. So this seems to work:

docker inspect --format '{{ .HostConfig.NanoCpus }}' "<my_container>"
1500000000