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

1.2.1 is listed as 1.1 in the results, and userns-remap causes 1.2.1 to fail. #462

Closed adespain closed 3 years ago

adespain commented 3 years ago

I have a separate partition of /var/lib/docker, however when I set userns-remap: default it creates this path for docker root: /var/lib/docker/296608.296608 which then fails the (1.1) 1.2.1 test. Is this to be expected?

konstruktoid commented 3 years ago

Hi @adespain, are you running the image or the bash script?

Related to https://github.com/docker/docker-bench-security/issues/332

adespain commented 3 years ago

@konstruktoid I am running the docker image.

adespain commented 3 years ago

@konstruktoid I ran the script this time and it isn't failing now, thanks for that.

konstruktoid commented 3 years ago

For reference: https://github.com/docker/docker-bench-security/issues/405

konstruktoid commented 3 years ago

Closing due to inactivity.