mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
add binaries as volumes #371
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
f791eb8a70
commit
166ccf7832
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