summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/http-proxy.md
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-08-24 19:14:08 -0600
committerEd Santiago <santiago@redhat.com>2022-08-29 06:47:07 -0600
commit4e18c8100f62dbc098ba3ac522e9f067385af214 (patch)
tree2d38e2811f9700c951fe76e97b1a13fd959a97b7 /docs/source/markdown/options/http-proxy.md
parent00b03db6f208614d7967f5dbd5c0281cc0bd6d23 (diff)
downloadpodman-4e18c8100f62dbc098ba3ac522e9f067385af214.tar.gz
podman-4e18c8100f62dbc098ba3ac522e9f067385af214.tar.bz2
podman-4e18c8100f62dbc098ba3ac522e9f067385af214.zip
Man pages: refactor common options: --http-proxy
Only between podman-create and -run. (podman-build is too different). I went with the podman-run version. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source/markdown/options/http-proxy.md')
-rw-r--r--docs/source/markdown/options/http-proxy.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/source/markdown/options/http-proxy.md b/docs/source/markdown/options/http-proxy.md
new file mode 100644
index 000000000..f83dcde4a
--- /dev/null
+++ b/docs/source/markdown/options/http-proxy.md
@@ -0,0 +1,15 @@
+#### **--http-proxy**
+
+By default proxy environment variables are passed into the container if set
+for the Podman process. This can be disabled by setting the value to **false**.
+The environment variables passed in include **http_proxy**,
+**https_proxy**, **ftp_proxy**, **no_proxy**, and also the upper case versions of
+those. This option is only needed when the host system must use a proxy but
+the container should not use any proxy. Proxy environment variables specified
+for the container in any other way will override the values that would have
+been passed through from the host. (Other ways to specify the proxy for the
+container include passing the values with the **--env** flag, or hard coding the
+proxy environment at container build time.)
+(This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
+
+Defaults to **true**.