Bläddra i källkod

Merge pull request #22906 from nshalman/patch-1

Clarification about 'docker build --build-arg'
Vincent Demeester 9 år sedan
förälder
incheckning
ce07eac570
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      docs/reference/commandline/build.md

+ 3 - 0
docs/reference/commandline/build.md

@@ -299,6 +299,9 @@ accessed like regular environment variables in the `RUN` instruction of the
 Dockerfile. Also, these values don't persist in the intermediate or final images
 like `ENV` values do.
 
+Using this flag will not alter the output you see when the `ARG` lines from the
+Dockerfile are echoed during the build process.
+
 For detailed information on using `ARG` and `ENV` instructions, see the
 [Dockerfile reference](../builder.md).