diff --git a/docs/reference/commandline/image_build.md b/docs/reference/commandline/image_build.md index 862b00bdc62f..5a7a00717b29 100644 --- a/docs/reference/commandline/image_build.md +++ b/docs/reference/commandline/image_build.md @@ -113,7 +113,7 @@ COPY failed: forbidden path outside the build context: ../../some-dir () ``` BuildKit on the other hand strips leading relative paths that traverse outside -of the build context. Re-using the previous example, the path `COPY +of the build context. Reusing the previous example, the path `COPY ../../some-dir .` evaluates to `COPY some-dir .` with BuildKit. ## Examples