mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add Entrypoint to builder and container config
By setting an entrypoint in the Dockerfile this allows one to run an image and only pass arguments.
This commit is contained in:
parent
348c5c4838
commit
b16ff9f859
8 changed files with 90 additions and 4 deletions
|
@ -26,3 +26,4 @@
|
|||
-v=[]: Creates a new volume and mounts it at the specified path.
|
||||
-volumes-from="": Mount all volumes from the given container.
|
||||
-b=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro]
|
||||
-entrypoint="": Overwrite the default entrypoint set by the image.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue