[CentOS-devel] docker group not exists in rpm

Farkas Levente lfarkas at lfarkas.org
Mon Dec 7 18:35:13 UTC 2015


On 12/07/2015 07:10 PM, Jonathan Billings wrote:
> On Mon, Dec 07, 2015 at 10:17:30AM -0600, Jim Perrin wrote:
>>> or how can an average user can run docker without sudo?
>>
>>
>> a simple "groupadd docker" will work, then restart the docker service
>> and add your user to that group.
>>
>> Note, it's *trivial* to escalate this to gain root on the host system,
>> so using the docker group is essentially passwordless sudo.
> 
> I think you also need to modify the docker socket so it's writable by
> the docker group.

imho the centos wiki should have to contain these info too.


-- 
  Levente                               "Si vis pacem para bellum!"


More information about the CentOS-devel mailing list