Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow setting environment variables when launching container #240

Closed
titanous opened this issue Mar 28, 2013 · 2 comments
Closed

Allow setting environment variables when launching container #240

titanous opened this issue Mar 28, 2013 · 2 comments

Comments

@titanous
Copy link
Contributor

Docker should have an option to specify arbitrary environment variables that should be set for the process it is launching inside of the container.

@shykes
Copy link
Contributor

shykes commented Mar 28, 2013

This is already supported :)

$ docker  run -e FOO=BAR busybox env
HOME=/
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
FOO=BAR

@shykes shykes closed this as completed Mar 28, 2013
@titanous
Copy link
Contributor Author

Ah, I missed that!

nalind pushed a commit to nalind/docker that referenced this issue May 3, 2017
[1.13.1] make secret mount rprivate
seemethere referenced this issue in docker-archive/engine Feb 11, 2019
[18.09-ce] [ENGSEC-30] CVE-2019-5736 apply fix via git bundle instead of patches
thaJeztah added a commit to thaJeztah/docker that referenced this issue Feb 23, 2019
This reverts commit eb137ff, reversing
changes made to a79fabb.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
cpuguy83 pushed a commit that referenced this issue Jan 23, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants