mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update docker builder doc
This commit is contained in:
parent
d37dea318e
commit
218812eb3c
1 changed files with 4 additions and 3 deletions
|
@ -107,8 +107,7 @@ The `ENV` instruction sets the environment variable `<key>` to the value
|
|||
functionally equivalent to prefixing the command with `<key>=<value>`
|
||||
|
||||
.. note::
|
||||
The environment variables are local to the Dockerfile, they will not persist
|
||||
when a container is run from the resulting image.
|
||||
The environment variables will persist when a container is run from the resulting image.
|
||||
|
||||
2.7 INSERT
|
||||
----------
|
||||
|
@ -122,6 +121,8 @@ curl was installed within the image.
|
|||
.. note::
|
||||
The path must include the file name.
|
||||
|
||||
.. note::
|
||||
This instruction has temporarily disabled
|
||||
|
||||
3. Dockerfile Examples
|
||||
======================
|
||||
|
@ -179,4 +180,4 @@ curl was installed within the image.
|
|||
# Will output something like ===> 695d7793cbe4
|
||||
|
||||
# You'll now have two images, 907ad6c2736f with /bar, and 695d7793cbe4 with
|
||||
# /oink.
|
||||
# /oink.
|
||||
|
|
Loading…
Reference in a new issue