mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
committed by
Misty Stanley-Jones
parent
79bd98b56e
commit
36ac04c1fa
@@ -276,7 +276,6 @@ The entrypoint can also be a list, in a manner similar to
|
||||
> clear out any default command on the image - meaning that if there's a `CMD`
|
||||
> instruction in the Dockerfile, it will be ignored.
|
||||
|
||||
|
||||
### env_file
|
||||
|
||||
Add environment variables from a file. Can be a single value or a list.
|
||||
@@ -304,6 +303,10 @@ beginning with `#` (i.e. comments) are ignored, as are blank lines.
|
||||
> build. Use the [args](compose-file.md#args) sub-option of `build` to define build-time
|
||||
> environment variables.
|
||||
|
||||
The value of `VAL` is used as is and not modified at all. For example if the value is
|
||||
surrounded by quotes (as is often the case of shell variables), the quotes will be
|
||||
included in the value passed to Compose.
|
||||
|
||||
### environment
|
||||
|
||||
Add environment variables. You can use either an array or a dictionary. Any
|
||||
|
||||
Reference in New Issue
Block a user