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)

  • Access host IP inside docker container using docker-compose
  • Rails assets fingerprints differ on server
  • Running eval in Jenkins execute shell
  • Seeding a database using Docker Mysql COPY fails
  • Linux Networking - Docker Container to Remote Host via Gateway without using route add?
  • Cross compile net/http for distribution
  • Docker copy command to copy a jar file from target folder
  • PHP-Apache in Docker with only one request in the same time
  • What's wrong with this dockerfile
  • Docker-compose mongoose
  • Vagrant: boot2docker: Unable to find image 'drupal' locally
  • is it possible to run virtualbox inside a docker container
  • 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.