mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
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:
parent
ad045075eb
commit
a4afe51cb6
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:
|
||||
|
||||
```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 \
|
||||
|
|
Loading…
Reference in a new issue