Merge pull request #129 from jippi/patch-1
document ENTRYPOINT with arguments
This commit is contained in:
commit
8b1712a190
1 changed files with 4 additions and 0 deletions
|
@ -196,6 +196,10 @@ entrypoint. An "entrypoint" is a partial command that gets prepended to your
|
|||
```Dockerfile
|
||||
# Runs "/usr/bin/dumb-init -- /my/script --with --args"
|
||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
|
||||
# or if you use --rewrite or other cli flags
|
||||
# ENTRYPOINT ["dumb-init", "--rewrite", "2:3", "--"]
|
||||
|
||||
CMD ["/my/script", "--with", "--args"]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue