mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #29485 from ericcurtin/remove-prompt-add-docker-group
Don't encourage adding user to docker group
This commit is contained in:
commit
06e3812b6e
1 changed files with 6 additions and 0 deletions
|
@ -137,6 +137,12 @@ echo_docker_as_nonroot() {
|
||||||
|
|
||||||
Remember that you will have to log out and back in for this to take effect!
|
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
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue