You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: components/cli/docs/reference/builder.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ Dockerfile.
54
54
>
55
55
> Do not use your root directory, `/`, as the `PATH` as it causes the build to
56
56
> transfer the entire contents of your hard drive to the Docker daemon.
57
+
{:.warning}
57
58
58
59
To use a file in the build context, the `Dockerfile` refers to the file specified
59
60
in an instruction, for example, a `COPY` instruction. To increase the build's
@@ -175,9 +176,9 @@ Docker runs instructions in a `Dockerfile` in order. A `Dockerfile` **must
175
176
begin with a \`FROM\` instruction**. This may be after [parser
176
177
directives](#parser-directives), [comments](#format), and globally scoped
177
178
[ARGs](#arg). The `FROM` instruction specifies the [*Parent
178
-
Image*](glossary.md#parent-image) from which you are building. `FROM`
179
-
may only be preceded by one or more `ARG` instructions, which declare arguments
180
-
that are used in `FROM` lines in the `Dockerfile`.
179
+
Image*](https://docs.docker.com/glossary/#parent_image) from which you are
180
+
building. `FROM`may only be preceded by one or more `ARG` instructions, which
181
+
declare arguments that are used in `FROM` lines in the `Dockerfile`.
181
182
182
183
Docker treats lines that *begin* with `#` as a comment, unless the line is
183
184
a valid [parser directive](#parser-directives). A `#` marker anywhere
@@ -1758,6 +1759,7 @@ ARG buildno
1758
1759
>
1759
1760
> Refer to the ["build images with BuildKit"](https://docs.docker.com/develop/develop-images/build_enhancements/#new-docker-build-secret-information)
1760
1761
> section to learn about secure ways to use secrets when building images.
1762
+
{:.warning}
1761
1763
1762
1764
### Default values
1763
1765
@@ -2277,7 +2279,8 @@ This feature is only available when using the [BuildKit](#buildkit) backend.
2277
2279
2278
2280
Docker build supports experimental features like cache mounts, build secrets and
2279
2281
ssh forwarding that are enabled by using an external implementation of the
2280
-
builder with a syntax directive. To learn about these features, [refer to the documentation in BuildKit repository](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/experimental.md).
2282
+
builder with a syntax directive. To learn about these features,
2283
+
[refer to the documentation in BuildKit repository](https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/experimental.md).
0 commit comments