How to show all users in dockers group?

Sören picture Sören · Oct 7, 2016 · Viewed 35.2k times · Source

How can I find out which users are in the docker group and allowed to start docker containers? (Docker 1.12.1)

Answer

Farhad Farahi picture Farhad Farahi · Oct 7, 2016

You can use the following:

grep /etc/group -e "docker"
grep /etc/group -e "sudo"