[CentOS-devel] docker group not exists in rpm

Mon Dec 7 18:10:30 UTC 2015
Jonathan Billings <billings at negate.org>

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.

-- 
Jonathan Billings <billings at negate.org>