Dockerroot vs docker group

Hi experts,

  1. on my docker installation ,I do not see docker group, but I do see “dockerroot” group.
    What is the difference between the 2 groups

2.I got myself added to “dockerroot” but im still not able to avoid “sudo”

3.I got myself added to group “docker” and it still doesnt allow me to run docker commands without sudo

Appreciate any explanations solution

1 Like

@appleusers25 Could you run these commands and post the results please? Need to know a bit more on your environment.

docker version
docker info

Client:
Version: 1.12.6
API version: 1.24
Package version: docker-1.12.6-71.git3e8e77d.el7.x86_64
Go version: go1.8.3
Git commit: 3e8e77d/1.12.6
Built: Wed Dec 13 12:18:58 2017
OS/Arch: linux/amd64

Server:
Version: 1.12.6
API version: 1.24
Package version: docker-1.12.6-71.git3e8e77d.el7.x86_64
Go version: go1.8.3
Git commit: 3e8e77d/1.12.6
Built: Wed Dec 13 12:18:58 2017
OS/Arch: linux/amd64

I had the same problem with version 1.13.1.
Solved by adding
“group”: “dockerroot”
in /etc/docker/daemon.json
See http://softpanorama.org/VM/Docker/Installation/rhel7_docker_package_dockerroot_problem.shtml

Regards
Øyvind Jergan