From a4afe51cb66dd8bbf474174a037684f11f10e9cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hermann?= Date: Mon, 20 Nov 2017 15:06:30 +0100 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9bc2903..4bf4aaf 100644 --- a/README.md +++ b/README.md @@ -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 \