mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-31 14:22:33 +01:00
Merge pull request #268 from jhermann/patch-1
Add "--userns host" to `docker run` example
This commit is contained in:
commit
3633545c35
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ The easiest way to run your hosts against the Docker Bench for Security is by
|
||||||
running our pre-built container:
|
running our pre-built container:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -it --net host --pid host --cap-add audit_control \
|
docker run -it --net host --pid host --userns host --cap-add audit_control \
|
||||||
-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \
|
-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \
|
||||||
-v /var/lib:/var/lib \
|
-v /var/lib:/var/lib \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
|
Loading…
Reference in a new issue