Merge pull request #129 from jippi/patch-1

document ENTRYPOINT with arguments
This commit is contained in:
Anthony Sottile 2016-12-13 06:50:16 -08:00 committed by GitHub
commit 8b1712a190

View file

@ -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"]
```