mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-10-09 00:40:18 +00:00
use grep if auditctl isnt present, closes #150
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
5cd62e6138
commit
ea39505778
2 changed files with 51 additions and 50 deletions
|
@ -35,8 +35,9 @@ docker run -it --net host --pid host --cap-add audit_control \
|
|||
|
||||
Docker bench requires Docker 1.10.0 or later in order to run.
|
||||
|
||||
Also note that the default image and `Dockerfile` uses `FROM: alpine` which
|
||||
doesn't contain `auditctl`, this will generate errors in section 1.8 to 1.15.
|
||||
Note that when distributions doesn't contain `auditctl`, the audit tests will
|
||||
check `/etc/audit/audit.rules` to see if a rule is present instead.
|
||||
|
||||
Distribution specific Dockerfiles that fixes this issue are available in the
|
||||
[distros directory](https://github.com/docker/docker-bench-security/tree/master/distros).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue