Add "--userns host" to docker run example

If UID remapping is configured as a default, it has to be defeated.

Signed-off-by: Juergen Hermann <jh@web.de>
This commit is contained in:
Jürgen Hermann 2017-11-20 15:06:30 +01:00 committed by jhermann
parent ad045075eb
commit a4afe51cb6

View file

@ -24,7 +24,7 @@ The easiest way to run your hosts against the Docker Bench for Security is by
running our pre-built container:
```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 \
-v /var/lib:/var/lib \
-v /var/run/docker.sock:/var/run/docker.sock \