mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00
Merge pull request #25626 from jankaluza/24875
Add --env and --unsetenv to podman update.
This commit is contained in:
13
docs/source/markdown/options/env.update.md
Normal file
13
docs/source/markdown/options/env.update.md
Normal file
@ -0,0 +1,13 @@
|
||||
####> This option file is used in:
|
||||
####> podman update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--env**, **-e**=*env*
|
||||
|
||||
Add a value (e.g. env=*value*) to the container. Can be used multiple times.
|
||||
If the value already exists in the container, it is overridden.
|
||||
To remove an environment variable from the container, use the `--unsetenv`
|
||||
option.
|
||||
|
||||
Note that the env updates only affect the main container process after
|
||||
the next start.
|
10
docs/source/markdown/options/unsetenv.update.md
Normal file
10
docs/source/markdown/options/unsetenv.update.md
Normal file
@ -0,0 +1,10 @@
|
||||
####> This option file is used in:
|
||||
####> podman update
|
||||
####> If file is edited, make sure the changes
|
||||
####> are applicable to all of those.
|
||||
#### **--unsetenv**=*env*
|
||||
|
||||
Unset environment variables from the container.
|
||||
|
||||
Note that the env updates only affect the main container process after
|
||||
the next start.
|
@ -42,6 +42,8 @@ Updates the configuration of an existing container, allowing changes to resource
|
||||
|
||||
@@option device-write-iops
|
||||
|
||||
@@option env.update
|
||||
|
||||
@@option health-cmd
|
||||
|
||||
@@option health-interval
|
||||
@ -90,6 +92,8 @@ Changing this setting resets the timer, depending on the state of the container.
|
||||
|
||||
@@option restart
|
||||
|
||||
@@option unsetenv.update
|
||||
|
||||
|
||||
## EXAMPLEs
|
||||
|
||||
|
Reference in New Issue
Block a user