From 8894b1dc4f523c08799cc6173671b5d37b93ceea Mon Sep 17 00:00:00 2001
From: Luke Bond <luke.n.bond@gmail.com>
Date: Mon, 3 Sep 2018 23:05:48 +0100
Subject: [PATCH] Update README.md

Specify `-t` to get colour in the Docker output.
Added a note about mounting kubectl or kubelet to get the version.
---
 README.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index bf737a1..0a7ae8d 100644
--- a/README.md
+++ b/README.md
@@ -28,15 +28,17 @@ You can choose to
 You can avoid installing kube-bench on the host by running it inside a container using the host PID namespace.
 
 ```
-docker run --pid=host aquasec/kube-bench:latest <master|node>
+docker run --pid=host -t aquasec/kube-bench:latest <master|node>
 ```
 
 You can even use your own configs by mounting them over the default ones in `/opt/kube-bench/cfg/`
 
 ```
-docker run --pid=host -v path/to/my-config.yaml:/opt/kube-bench/cfg/config.yaml aquasec/kube-bench:latest <master|node>
+docker run --pid=host -t -v path/to/my-config.yaml:/opt/kube-bench/cfg/config.yaml aquasec/kube-bench:latest <master|node>
 ```
 
+> Note: the tests require either the kubelet or kubectl binary in the path in order to know the Kubernetes version. You can pass `-v $(which kubectl):/usr/bin/kubectl` to the above invocations to resolve this.
+
 ### Running in a kubernetes cluster
 Run the master check
 
-- 
GitLab