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

Provide access to the --env-file docker parameter through the klio job run command #176

Open
pomdtr opened this issue Mar 8, 2021 · 1 comment

Comments

@pomdtr
Copy link

pomdtr commented Mar 8, 2021

Describe the feature you'd like

I would like to be able to pass env variables to my application using the --env-file flag of the docker-run command

Is your feature request related to a problem?

We are currently struggling to pass secrets to our klio pipeline, and I'm not sure the template feature is the right way to achieve this.

@denis-angilella
Copy link
Contributor

An option is to use an environment variable to transmit docker run arguments via klio job commands.

Example:

DOCKER_RUN_OPTS="--network=my-network --env MY_VAR=42" klio job ...

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