-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Greetings,
I ran into an instance where I wanted to run a SCUBA instance on my domain-joined Linux machine with the docker socket (/var/run/docker.sock) mapped in from the host. I'm using this "main" container to orchestrate the creation and management of other sibling containers. Trouble is that my primary group is not the "docker" group, but something else that I'd rather not change. SCUBA is setting the "main" container to run with my user's UID and primary group GID. In my case means that this created container will not have write access to the docker socket due to my user's primary group not being docker.
One way around this is to run SCUBA as root, but that feels dirty.
I was thinking that another way could be to allow the user a command line option to tell SCUBA to use one of the user's secondary groups instead of the primary group.
Thoughts?
Paul