summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-01 14:51:55 +0200
committerGitHub <noreply@github.com>2019-05-01 14:51:55 +0200
commiteea77b5ae3e7fb8a60d438a79d3a4b30d35bb67c (patch)
tree37f8f7740e9e615a561422410ff91a0ce13bead0 /cmd/podman/common.go
parent39c937ee450a4de7ab97c013d65157a3b39718b1 (diff)
parent354d80626ac4790f261a29a6d53d6cd3fa837bb9 (diff)
downloadpodman-eea77b5ae3e7fb8a60d438a79d3a4b30d35bb67c.tar.gz
podman-eea77b5ae3e7fb8a60d438a79d3a4b30d35bb67c.tar.bz2
podman-eea77b5ae3e7fb8a60d438a79d3a4b30d35bb67c.zip
Merge pull request #3018 from jamescassell/auto-http-proxy
Auto http proxy
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index eac96d3ba..b02aa5990 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -313,6 +313,10 @@ func getCreateFlags(c *cliconfig.PodmanCommand) {
"hostname", "h", "",
"Set container hostname",
)
+ createFlags.Bool(
+ "http-proxy", true,
+ "Set proxy environment variables in container based on the host proxy vars",
+ )
createFlags.String(
"image-volume", cliconfig.DefaultImageVolume,
"Tells podman how to handle the builtin image volumes. The options are: 'bind', 'tmpfs', or 'ignore'",