Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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)

like image 298
Soren Avatar asked Oct 07 '16 15:10

Soren


People also ask

How do I see all of my Docker containers?

In order to list the Docker containers, we can use the “docker ps” or “docker container ls” command. This command provides a variety of ways to list and filter all containers on a particular Docker engine.

Are Docker images shared between users?

There is only one Docker installation on a server. Anyone who can access Docker can access any of the images and manage any of the containers.


1 Answers

You can use the following:

grep /etc/group -e "docker"
grep /etc/group -e "sudo"
like image 105
Farhad Farahi Avatar answered Sep 19 '22 20:09

Farhad Farahi