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

Invalid check for socket existence #477

Closed drmaciej closed 3 years ago

drmaciej commented 3 years ago

In multiple places existence of a socket file is checked with -f instead of -S. This results in File not found across a few places, like 3.23 and 3.24.

konstruktoid commented 3 years ago

Hi @drmaciej and thank you for creating this issue, can you please verify #478 ?

drmaciej commented 3 years ago

Hi @konstruktoid, thanks for a quick fix. https://github.com/docker/docker-bench-security/pull/478 looks good to me!