Which Group For Running Docker As A Regular User On CentOS 7

Home » CentOS » Which Group For Running Docker As A Regular User On CentOS 7
CentOS 1 Comment

Hi,

I have installed docker and would like to run the containers without sudo.

I have placed myself in dockerroot group, but still to no avail. CentOS
doesn’t have the operator group.

What should I do?

Thanks in advance

One thought on - Which Group For Running Docker As A Regular User On CentOS 7

  • For security reasons the Red Hat and Fedora builds do not enable this by default.

    Accepting the risks and the consequences, you need to update the DOCKER_OPTS in /etc/sysconfig/docker to include ‘-G dockerroot’ so that the docker socket gets created with the group dockerroot.