-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Set -env variables as appropriate #3665
Conversation
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title is messed up, please change it. Perhaps "Set -env variables as appropriate"
8fa7103
to
a4570f0
Compare
docs/podman-create.1.md
Outdated
@@ -253,7 +253,7 @@ You need to specify multi option commands in the form of a json string. | |||
|
|||
Set environment variables | |||
|
|||
This option allows you to specify arbitrary environment variables that are available for the process that will be launched inside of the container. If you specify a environment variable without a value, podman will check the host environment for a value or set the environment to "". If you specify a environment variable ending in --*--, podman will search the host environment for variables starting with the prefix and add them to the container. If you want to add an environment variable with a ***** following it, then you need to set a value. | |||
This option allows arbitrary environment variables that are available for the process to be launched inside of the container. If an environment variable is specified without a value, Podman will check the host environment for a value and set the variable only if it is set on the host. If an environment variable ending in __*__ is specified, Podman will search the host environment for variables starting with the prefix and will add those variable to the container. If an environment variable with a trailing ***** is specified, then a value must be supplied. | |||
|
|||
See **Environment** note below for precedence. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a link to #environment
? from the **Environment**
@QiWang19 fwiw, I'm done picking nits! |
081da34
to
bf22f16
Compare
close containers#3648 podman create and podman run do not set --env variable if the environment is not present with a value Signed-off-by: Qi Wang <[email protected]>
@TomSweeneyRedHat @mheon PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @QiWang19
@giuseppe has you change been addressed? Can you remove the request if so please? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe, mheon, QiWang19 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM |
/lgtm |
close #3648
podman create and podman run do not set --env value if the environment is not present with a value
Signed-off-by: Qi Wang [email protected]