summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-14 10:47:50 -0400
committerGitHub <noreply@github.com>2021-04-14 10:47:50 -0400
commit4ee203dde7c9e8de2484f00c7f251c0f32ed0ad2 (patch)
treed40e6b560c77bf8f17386ee19034f295e51644c3 /docs
parentb130dced648350f547767d07bb0b055472ab79bd (diff)
parent8f16742187ce02dbbd5a798763bad01a263bc476 (diff)
downloadpodman-4ee203dde7c9e8de2484f00c7f251c0f32ed0ad2.tar.gz
podman-4ee203dde7c9e8de2484f00c7f251c0f32ed0ad2.tar.bz2
podman-4ee203dde7c9e8de2484f00c7f251c0f32ed0ad2.zip
Merge pull request #9945 from rhatdan/runlabel
Fix handling of $NAME and $IMAGE in runlabel
Diffstat (limited to 'docs')
-rw-r--r--docs/source/markdown/podman-container-runlabel.1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-container-runlabel.1.md b/docs/source/markdown/podman-container-runlabel.1.md
index 84d283cf8..9557303b6 100644
--- a/docs/source/markdown/podman-container-runlabel.1.md
+++ b/docs/source/markdown/podman-container-runlabel.1.md
@@ -13,7 +13,7 @@ exist, `podman container runlabel` will just exit.
If the container image has a LABEL INSTALL instruction like the following:
-`LABEL INSTALL /usr/bin/podman run -t -i --rm \${OPT1} --privileged -v /:/host --net=host --ipc=host --pid=host -e HOST=/host -e NAME=\${NAME} -e IMAGE=\${IMAGE} -e CONFDIR=\/etc/${NAME} -e LOGDIR=/var/log/\${NAME} -e DATADIR=/var/lib/\${NAME} \${IMAGE} \${OPT2} /bin/install.sh \${OPT3}`
+`LABEL INSTALL /usr/bin/podman run -t -i --rm \${OPT1} --privileged -v /:/host --net=host --ipc=host --pid=host -e HOST=/host -e NAME=\${NAME} -e IMAGE=\${IMAGE} -e CONFDIR=/etc/\${NAME} -e LOGDIR=/var/log/\${NAME} -e DATADIR=/var/lib/\${NAME} \${IMAGE} \${OPT2} /bin/install.sh \${OPT3}`
`podman container runlabel` will set the following environment variables for use in the command: