Skip to content
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

accept arbitrary docker run arguments #83

Closed
moomerman opened this issue Mar 4, 2023 · 2 comments
Closed

accept arbitrary docker run arguments #83

moomerman opened this issue Mar 4, 2023 · 2 comments

Comments

@moomerman
Copy link
Contributor

moomerman commented Mar 4, 2023

I've got a couple of scenarios where I want to provide additional arguments to the docker run command, but at present it doesn't look like there's a way to provide them via configuration.

One example is where I want to provide additional capabilities to the container:

 --cap-add=NET_ADMIN --cap-add=SYS_ADMIN --device=/dev/net/tun

Rather than supporting capabilities and devices as special cases, perhaps we can just provide a run_args config where you can specify additional arguments?

Happy to implement it if desired.

@moomerman moomerman changed the title accept arbitrary docker arguments accept arbitrary docker run arguments Mar 4, 2023
@dhh
Copy link
Member

dhh commented Mar 5, 2023

Happy to see this. We already have a specialized version of this for Traefik. So you can follow that pattern 👍

@dhh
Copy link
Member

dhh commented Mar 9, 2023

Sorted via #95

@dhh dhh closed this as completed Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants