[SAC] [OSGeo] #2452: new VM for demo.pycsw.org
OSGeo
trac_osgeo at osgeo.org
Wed May 6 18:14:58 PDT 2020
#2452: new VM for demo.pycsw.org
---------------------------+------------------------
Reporter: tomkralidis | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems Admin | Resolution:
Keywords: pycsw demo |
---------------------------+------------------------
Comment (by robe):
Tom I can't figure out how to give a different user group access to
docker.
It seems docker is hardwired to accept only docker as a group. I'm sure
it's buried somewhere and we can rename it, but not sure
So what I did instead is this -- which is pretty much following the
directions you had above
{{{
sudo usermod -aG docker tomkralidis #add tom to docker group
sudo usermod -aG docker robe # add regina to docker group
}}}
Then I exited out of pycsw and logged back in and tried doing this. Note
logging out and logging back in is required for new permissions to take
effect.
{{{
docker run hello-world
}}}
and it was successful. Before that it gave a permission error.
Is that okay, or you really need the group to be called pycsw-demo?
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2452#comment:7>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list