[prev in list] [next in list] [prev in thread] [next in thread] 

List:       centos
Subject:    Re: [CentOS] which group for running docker as a regular user on CentOS 7
From:       James Hogarth <james.hogarth () gmail ! com>
Date:       2017-10-26 9:59:57
Message-ID: CAGkb5vf-AB7MmQkReamKEFXMq7jhzzKpnehr2ypWOp3srfJ8CA () mail ! gmail ! com
[Download RAW message or body]

On 26 October 2017 at 10:20, soko.tica <soko.tica@gmail.com> wrote:
> 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?
>
>

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.
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic