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

Environment variables #114

Closed
jonasfoyth opened this issue Mar 24, 2021 · 2 comments
Closed

Environment variables #114

jonasfoyth opened this issue Mar 24, 2021 · 2 comments

Comments

@jonasfoyth
Copy link

Hello! I'm testing the lib in some projects and i need to update a continers enviroments variables.

The first idea was remove and create a new container with a new enviroment, but isn't a good idea remove and create all the time.

The second ideia was use exec_container function with env option. However, the struct CreateExecOptions is pub but env option is private.

Any ideia to make this enviroment update? Thx.

@eldesh
Copy link
Collaborator

eldesh commented Mar 25, 2021

Thanks for the suggestion.
The env in CreateExecOptions looks like it should be public.

@eldesh
Copy link
Collaborator

eldesh commented Mar 30, 2021

This feature is enabled in #115.
You can use this feature as follows
dockworker = { git = "https://github.com/Idein/dockworker.git", rev = "ffd1d2a" }

@eldesh eldesh closed this as completed Jul 16, 2024
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