-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add group_add to job docker config #17108
Comments
@Kamilcuk can you do us a favor and revisit what you've written here and try to turn it into a specific proposal? This is a bunch of links and @-mentions of unrelated folks on a closed PR. (Edit: thanks!) |
Thanks for clarifying the issue @Kamilcuk. Looks like a straightforward case of Nomad needing to implement an additional Docker configuration option. I updated the labels so we can pick it up someday. These sorts of plugin improvements are good opportunities for contributions as well, so I added the |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Proposal
This is a proposal to add a
group_add
argument to docker task"config"
-uration that will mimic thedocker --group_add
anddocker compose
group_add:
options.From
docker run --help
:Use-cases
The use case is to run a user with more than one group. For example, there is an NFS share where directories are owned by specific, multiple, different groups.
Attempted Solutions
The solution or workaround is to create a custom image with Dockerfile where you
RUN useradd && groupadd
the required groups to the user.Related:
#8066
@dnrce could you sign CLA? Thank you.
https://discuss.hashicorp.com/t/inject-default-user-group-for-docker-by-nomad-client/18895
The text was updated successfully, but these errors were encountered: