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)

  • Rebuild and ReRun a DockerContainer
  • Vagrant or Docker for environment development
  • How do I model a PostgreSQL failover cluster with Docker/Kubernetes?
  • Docker compose global level logging
  • Can I use Docker-Compose to create Networks without Containers
  • Capturing output of python script run inside a docker container
  • invalid header field value "oci runtime error while running docker image
  • cucumber tests on docker won't fire at the integration-test phase
  • Create long running .NET Core service targeting Linux Docker container
  • not able to install mysql-server on docker container
  • Debug Nodejs inside Docker container
  • how to start a docker container along-with its parameters changed?
  • 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
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.