diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-12 10:33:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-12 10:33:18 +0200 |
commit | 6f3e7f7eccdfed03d3d617a9040d5e0b844ea637 (patch) | |
tree | 2632afdbee8c1f480ae515453161b65d89866d69 /cmd/podman/common.go | |
parent | 20f11718def2a5bf5af96363e9c7082ba48077f4 (diff) | |
parent | 369f8b8862e8918a011290311e44c1691f699c58 (diff) | |
download | podman-6f3e7f7eccdfed03d3d617a9040d5e0b844ea637.tar.gz podman-6f3e7f7eccdfed03d3d617a9040d5e0b844ea637.tar.bz2 podman-6f3e7f7eccdfed03d3d617a9040d5e0b844ea637.zip |
Merge pull request #3557 from rhatdan/env
Add support for --env-host
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r-- | cmd/podman/common.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 50f3d9a7b..96a1c2244 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -221,6 +221,9 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { "env", "e", []string{}, "Set environment variables in container", ) + createFlags.Bool( + "env-host", false, "Use all current host environment variables in container", + ) createFlags.StringSlice( "env-file", []string{}, "Read in a file of environment variables", |