-
Notifications
You must be signed in to change notification settings - Fork 26
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 env vars to docker images #89
Comments
For my education, is there a use case that can be only done via env, not cli argument? |
Well, this is a common practice to use environment variables with container orchestration tools. This way you can set the necessary environment variables once and reuse them across different instances or containers instead of passing CLI arguments every time. |
Share Env is a legit use case. Let us keep this issue open |
The usage of CLI arguments works well for binary usage but with docker images it would be better to propose environments variables.
We could imagine something like:
cli_args if not undefined else anv_agrs if not undefined else default
The text was updated successfully, but these errors were encountered: