summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-remote.1.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-10-14 14:50:26 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-10-14 17:08:48 -0400
commit4f857bc10627d950b3363e47cee02ef07618f0ae (patch)
tree8c46fb2c32539af67d5dd2936b6077f1d7ee72a6 /docs/source/markdown/podman-remote.1.md
parent8d44c548c085c65cae33398b322eabadb6b237f7 (diff)
downloadpodman-4f857bc10627d950b3363e47cee02ef07618f0ae.tar.gz
podman-4f857bc10627d950b3363e47cee02ef07618f0ae.tar.bz2
podman-4f857bc10627d950b3363e47cee02ef07618f0ae.zip
If CONTAINER_HOST env variable is set default podman --remote=true
Users enabling CONTAINER_HOST==PATH is indicating to podman they intend to use remote functionality. Fixes: https://github.com/containers/podman/issues/11196 Update man pages to document all of the environment variables. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-remote.1.md')
-rw-r--r--docs/source/markdown/podman-remote.1.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-remote.1.md b/docs/source/markdown/podman-remote.1.md
index 1a6c7d3cc..fb77f3300 100644
--- a/docs/source/markdown/podman-remote.1.md
+++ b/docs/source/markdown/podman-remote.1.md
@@ -29,6 +29,8 @@ The `containers.conf` file should be placed under `$HOME/.config/containers/cont
Remote connection name
+Overrides environment variable `CONTAINER_CONNECTION` if set.
+
#### **--help**, **-h**
Print usage statement
@@ -71,6 +73,26 @@ URL value resolution precedence:
Print the version
+## Environment Variables
+
+Podman can set up environment variables from env of [engine] table in containers.conf. These variables can be overridden by passing environment variables before the `podman` commands.
+
+#### **CONTAINERS_CONF**
+
+Set default locations of containers.conf file
+
+#### **CONTAINER_CONNECTION**
+
+Set default `--connection` value to access Podman service.
+
+#### **CONTAINER_HOST**
+
+Set default `--url` value to access Podman service.
+
+#### **CONTAINER_SSHKEY**
+
+Set default `--identity` path to ssh key file value used to access Podman service.
+
## Exit Status
The exit code from `podman` gives information about why the container