March 2017
Beginner to intermediate
925 pages
18h 11m
English
For ease of use, we can allow a nonroot user to administer Docker by adding them to a Docker group.
$ sudo group add docker
$ useradd dockertest
Run the following command to allow the newly created user to administer Docker:
$ sudo gpasswd -a dockertest docker
The preceding command will add a user to the Docker group. The added user will thus be able to perform all Docker operations. This can be the security risk. Visit Chapter 9, Docker Security for more details.
Read now
Unlock full access