mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
commit
49af92a7a9
1 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ in `docker run`. We'll go through what the developer might have set in each
|
||||||
Dockerfile instruction and how the operator can override that setting.
|
Dockerfile instruction and how the operator can override that setting.
|
||||||
|
|
||||||
- [CMD (Default Command or Options)](#cmd-default-command-or-options)
|
- [CMD (Default Command or Options)](#cmd-default-command-or-options)
|
||||||
- [ENTRYPOINT (Default Command to Execute at Runtime](
|
- [ENTRYPOINT (Default Command to Execute at Runtime)](
|
||||||
#entrypoint-default-command-to-execute-at-runtime)
|
#entrypoint-default-command-to-execute-at-runtime)
|
||||||
- [EXPOSE (Incoming Ports)](#expose-incoming-ports)
|
- [EXPOSE (Incoming Ports)](#expose-incoming-ports)
|
||||||
- [ENV (Environment Variables)](#env-environment-variables)
|
- [ENV (Environment Variables)](#env-environment-variables)
|
||||||
|
@ -243,7 +243,7 @@ operator (the person running a container from the image), you can override that
|
||||||
If the image also specifies an `ENTRYPOINT` then the `CMD` or `COMMAND` get
|
If the image also specifies an `ENTRYPOINT` then the `CMD` or `COMMAND` get
|
||||||
appended as arguments to the `ENTRYPOINT`.
|
appended as arguments to the `ENTRYPOINT`.
|
||||||
|
|
||||||
## ENTRYPOINT (Default Command to Execute at Runtime
|
## ENTRYPOINT (Default Command to Execute at Runtime)
|
||||||
|
|
||||||
--entrypoint="": Overwrite the default entrypoint set by the image
|
--entrypoint="": Overwrite the default entrypoint set by the image
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue