summaryrefslogtreecommitdiff
path: root/cmd/podman/common
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-12 08:40:44 -0500
committerGitHub <noreply@github.com>2021-01-12 08:40:44 -0500
commit64b86d004ebd7db0b2bc352475505050be0f8591 (patch)
treecc0328d6d64b3ac15604c1da2c7a3ed71167c478 /cmd/podman/common
parent5575c7be2023d0709432b12b60124168c6956c8a (diff)
parent1c1e670d40826bed50ea43c197d1944018263738 (diff)
downloadpodman-64b86d004ebd7db0b2bc352475505050be0f8591.tar.gz
podman-64b86d004ebd7db0b2bc352475505050be0f8591.tar.bz2
podman-64b86d004ebd7db0b2bc352475505050be0f8591.zip
Merge pull request #8905 from rhatdan/proxy
Use HTTPProxy settings from containers.conf
Diffstat (limited to 'cmd/podman/common')
-rw-r--r--cmd/podman/common/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go
index bbd4f6bae..24703eda2 100644
--- a/cmd/podman/common/create.go
+++ b/cmd/podman/common/create.go
@@ -336,7 +336,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *ContainerCLIOpts) {
createFlags.BoolVar(
&cf.HTTPProxy,
- "http-proxy", true,
+ "http-proxy", containerConfig.Containers.HTTPProxy,
"Set proxy environment variables in the container based on the host proxy vars",
)