mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 08:42:33 +01:00
README
This commit is contained in:
parent
f3f5636ac9
commit
69de1eb93d
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ The easiest way to run your hosts against the CIS Docker 1.6 benchmark is by run
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it --net host --pid host \
|
docker run -it --cap-add audit_control --net host --pid host \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /usr/lib/systemd:/usr/lib/systemd \
|
-v /usr/lib/systemd:/usr/lib/systemd \
|
||||||
-v /etc:/etc --label docker-bench-security \
|
-v /etc:/etc --label docker-bench-security \
|
||||||
|
@ -33,7 +33,7 @@ If you wish to build and run this container yourself, you can follow the followi
|
||||||
git clone https://github.com/diogomonica/docker-bench-security.git
|
git clone https://github.com/diogomonica/docker-bench-security.git
|
||||||
cd docker-bench-security
|
cd docker-bench-security
|
||||||
docker build -t docker-bench-security .
|
docker build -t docker-bench-security .
|
||||||
docker run -it --net host --pid host \
|
docker run -it --cap-add audit_control --net host --pid host \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
-v /usr/lib/systemd:/usr/lib/systemd \
|
-v /usr/lib/systemd:/usr/lib/systemd \
|
||||||
-v /etc:/etc --label security-benchmark \
|
-v /etc:/etc --label security-benchmark \
|
||||||
|
|
Loading…
Reference in a new issue