How to show all users in dockers group?
How can I find out which users are in the docker group and allowed to start docker containers? (Docker 1.12.1)
2 Solutions collect form web for “How to show all users in dockers group?”
You can use the following:
grep /etc/group -e "docker" grep /etc/group -e "sudo"
Docker creates the
docker group, but also any sudoers can use Docker, so you need to check two group memberships:
getent group sudo getent group docker