mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Merge pull request #372 from konstruktoid/ISSUE371
add binaries as volumes #371
This commit is contained in:
commit
7aaebd63c4
1 changed files with 5 additions and 2 deletions
|
@ -26,10 +26,13 @@ running our pre-built container:
|
|||
```sh
|
||||
docker run -it --net host --pid host --userns host --cap-add audit_control \
|
||||
-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \
|
||||
-v /etc:/etc \
|
||||
-v /usr/bin/docker-containerd:/usr/bin/docker-containerd \
|
||||
-v /usr/bin/docker-runc:/usr/bin/docker-runc \
|
||||
-v /usr/lib/systemd:/usr/lib/systemd \
|
||||
-v /var/lib:/var/lib \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-v /usr/lib/systemd:/usr/lib/systemd \
|
||||
-v /etc:/etc --label docker_bench_security \
|
||||
--label docker_bench_security \
|
||||
docker/docker-bench-security
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue