-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Regarding: https://docs.olivetin.app/install/docker_compose.html
I saw your recommendation to let the olivetin container run with root permission ion order to control the docker daemon. There is another way to achieve the same without becoming root and thus breaking some security principles: It's possible to add the group id of the docker group to the container user.
-
Get the group id:
getent group docker -
Add this to the
docker-compose.yml:group_add: - "995" # docker
And that's it! WDYT? The impact from a security perspective is a lot less than working with a root user.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels