From 2700ef95baaae57dc2a845c85c4d7fdb29558217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diogo=20M=C3=B3nica?= Date: Mon, 1 Jun 2015 09:16:17 -0700 Subject: [PATCH] Taking read-only out Mounting `/etc:ro` was causing issues in OpenSuse and Centos 5.6 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 08bd762..bcedb95 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ The easiest way to run your hosts against the CIS Docker 1.6 benchmark is by run ``` -docker run -it --net host --pid host -v /var/run/docker.sock:/var/run/docker.sock:ro \ --v /usr/lib/systemd:/usr/lib/systemd:ro -v /etc:/etc:ro --label docker-bench-security \ +docker run -it --net host --pid host -v /var/run/docker.sock:/var/run/docker.sock \ +-v /usr/lib/systemd:/usr/lib/systemd -v /etc:/etc --label docker-bench-security \ diogomonica/docker-bench-security ``` @@ -30,8 +30,8 @@ If you wish to build and run this container yourself, you can follow the followi ``` git clone https://github.com/diogomonica/docker-bench-security.git cd docker-bench-security; docker build -t docker-bench-security . -docker run -it --net host --pid host -v /var/run/docker.sock:/var/run/docker.sock:ro \ --v /usr/lib/systemd:/usr/lib/systemd:ro -v /etc:/etc:ro --label security-benchmark \ +docker run -it --net host --pid host -v /var/run/docker.sock:/var/run/docker.sock \ +-v /usr/lib/systemd:/usr/lib/systemd -v /etc:/etc --label security-benchmark \ docker-bench-security ```