Skip to content

Allow specifying group #261

@wootpthomas

Description

@wootpthomas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions