From 5b4a528b579c7a3582e0c0f707638f3ccf5969ad Mon Sep 17 00:00:00 2001 From: Eric Curtin Date: Fri, 16 Dec 2016 15:38:05 +0000 Subject: [PATCH] Add warning on docker group suggestion Signed-off-by: Eric Curtin --- hack/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hack/install.sh b/hack/install.sh index cc816324cf..4353b8ee07 100644 --- a/hack/install.sh +++ b/hack/install.sh @@ -78,6 +78,12 @@ echo_docker_as_nonroot() { Remember that you will have to log out and back in for this to take effect! + WARNING: Adding a user to the "docker" group will grant the ability to run + containers which can be used to obtain root privileges on the + docker host. + Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface + for more information. + EOF }