From 0ac114fa91302570d76395dceb8b36a51e86a7f3 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Thu, 30 Nov 2023 08:59:35 -0500 Subject: [PATCH] @@option volume.image: be specific that -v only affects RUN Be specific that the `-v` flag only affects RUN instructions. The previous wording left it ambiguous, and people might have concluded that it applied to ADD and COPY as well. Signed-off-by: Nalin Dahyabhai --- docs/source/markdown/options/volume.image.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/source/markdown/options/volume.image.md b/docs/source/markdown/options/volume.image.md index 7549b47ea3..b4715f8545 100644 --- a/docs/source/markdown/options/volume.image.md +++ b/docs/source/markdown/options/volume.image.md @@ -4,9 +4,8 @@ ####> are applicable to all of those. #### **--volume**, **-v**=*[HOST-DIR:CONTAINER-DIR[:OPTIONS]]* -Create a bind mount. Specifying the `-v /HOST-DIR:/CONTAINER-DIR` option, Podman -bind mounts `/HOST-DIR` from the host to `/CONTAINER-DIR` in the Podman -container. +Mount a host directory into containers when executing RUN instructions during +the build. The `OPTIONS` are a comma-separated list and can be: [[1]](#Footnote1) @@ -17,12 +16,9 @@ The `OPTIONS` are a comma-separated list and can be: [[1]](#Footnote1)