Merge pull request #29485 from ericcurtin/remove-prompt-add-docker-group

Don't encourage adding user to docker group
(cherry picked from commit 06e3812b6e)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Vincent Demeester 2017-01-12 18:28:16 +01:00 committed by Sebastiaan van Stijn
parent ebcd590a03
commit 99d1e7f5b6
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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
}