From 735f0de6336fa8db7465ce4aaa5b6de203816aa9 Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 11 Jan 2019 10:33:25 -0600 Subject: Changes to container runlabel for toolbox project The toolbox project would benefit from a few changes to more closely resembe the original atomic cli project. Changes made are: * only pull image for container runlabel if the label exists in the image * if a container image does not have the desired label, exit with non-zero Signed-off-by: baude --- docs/podman-container-runlabel.1.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/podman-container-runlabel.1.md b/docs/podman-container-runlabel.1.md index 6f7b4dae8..c5d7a278f 100644 --- a/docs/podman-container-runlabel.1.md +++ b/docs/podman-container-runlabel.1.md @@ -26,6 +26,9 @@ If the container image has a LABEL INSTALL instruction like the following: `podman container runlabel` will set the following environment variables for use in the command: +If the container image does not have the desired label, an error message will be displayed along with a non-zero +return code. + Note: Podman will always ensure that `podman` is the first argument of the command being executed. **LABEL** -- cgit v1.2.3-54-g00ecf