mirror of https://github.com/docker/docs.git
Changed add to group command to include -a (append) flag, for safety. In response to customer email.
Docker-DCO-1.1-Signed-off-by: Fred Lifton <fred.lifton@docker.com> (github: fredlf)
This commit is contained in:
parent
3a50675a68
commit
0acec44374
|
@ -45,9 +45,9 @@ If we want Docker to start at boot, we should also:
|
||||||
|
|
||||||
The docker package creates a new group named docker. Users, other than
|
The docker package creates a new group named docker. Users, other than
|
||||||
root user, need to be part of this group in order to interact with the
|
root user, need to be part of this group in order to interact with the
|
||||||
Docker daemon.
|
Docker daemon. You can add users with:
|
||||||
|
|
||||||
$ sudo usermod -G docker <username>
|
$ sudo usermod -a -G docker <username>
|
||||||
|
|
||||||
**Done!**
|
**Done!**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue