diff --git a/docs/man/Dockerfile.5.md b/docs/man/Dockerfile.5.md index 5a3cc92a55..b4ef771a45 100644 --- a/docs/man/Dockerfile.5.md +++ b/docs/man/Dockerfile.5.md @@ -196,7 +196,7 @@ A Dockerfile is similar to a Makefile. ADD # Required for paths with whitespace - ADD ["", ""] + ADD ["",... ""] ``` The **ADD** instruction copies new files, directories @@ -215,7 +215,7 @@ A Dockerfile is similar to a Makefile. COPY # Required for paths with whitespace - COPY ["", ""] + COPY ["",... ""] ``` The **COPY** instruction copies new files from `` and diff --git a/docs/sources/reference/builder.md b/docs/sources/reference/builder.md index fb4d5ce1d7..e847446286 100644 --- a/docs/sources/reference/builder.md +++ b/docs/sources/reference/builder.md @@ -492,7 +492,7 @@ change them using `docker run --env =`. ADD has two forms: - `ADD ... ` -- `ADD [""... ""]` (this form is required for paths containing +- `ADD ["",... ""]` (this form is required for paths containing whitespace) The `ADD` instruction copies new files, directories or remote file URLs from `` @@ -596,7 +596,7 @@ The copy obeys the following rules: COPY has two forms: - `COPY ... ` -- `COPY [""... ""]` (this form is required for paths containing +- `COPY ["",... ""]` (this form is required for paths containing whitespace) The `COPY` instruction copies new files or directories from ``