mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
Add support for Entrypoint in quadlet
This PR closes #20585 Add Inital support for Entrypoint on quadlets Add Bats Tests for Entrypoint Updates the documentation with one example to use the Entrypoint option Signed-off-by: Odilon Sousa <osousa@redhat.com>
This commit is contained in:
@ -168,6 +168,7 @@ Valid options for `[Container]` are listed below:
|
||||
| Environment=foo=bar | --env foo=bar |
|
||||
| EnvironmentFile=/tmp/env | --env-file /tmp/env |
|
||||
| EnvironmentHost=true | --env-host |
|
||||
| Entrypoint=/foo.sh | --entrypoint=/foo.sh |
|
||||
| Exec=/usr/bin/command | Command after image specification - /usr/bin/command |
|
||||
| ExposeHostPort=50-59 | --expose 50-59 |
|
||||
| GIDMap=0:10000:10 | --gidmap=0:10000:10 |
|
||||
@ -320,6 +321,12 @@ This key may be used multiple times, and the order persists when passed to `podm
|
||||
|
||||
Use the host environment inside of the container.
|
||||
|
||||
#### `Entrypoint=`
|
||||
|
||||
Override the default ENTRYPOINT from the image.
|
||||
Equivalent to the Podman `--entrypoint` option.
|
||||
Specify multi option commands in the form of a json string.
|
||||
|
||||
### `Exec=`
|
||||
|
||||
If this is set then it defines what command line to run in the container. If it is not set the
|
||||
|
Reference in New Issue
Block a user