mirror of
https://github.com/containers/podman.git
synced 2025-06-01 09:06:44 +08:00
quadlet: support HostName
Add a new `HostName` field to Quadlet `.container` files. Fixes: #18486 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -109,6 +109,7 @@ Valid options for `[Container]` are listed below:
|
||||
| HealthStartupSuccess=2 | --health-startup-success=2 |
|
||||
| HealthStartupTimeout=1m33s | --health-startup-timeout=1m33s |
|
||||
| HealthTimeout=20s | --health-timeout=20s |
|
||||
| HostName=new-host-name | --hostname="new-host-name" |
|
||||
| Image=ubi8 | Image specification - ubi8 |
|
||||
| IP=192.5.0.1 | --ip 192.5.0.0 |
|
||||
| IP6=fd46:db93:aa76:ac37::10 | --ip6 2001:db8::1 |
|
||||
@ -276,6 +277,11 @@ Equivalent to the Podman `--health-startup-timeout` option.
|
||||
The maximum time allowed to complete the healthcheck before an interval is considered failed.
|
||||
Equivalent to the Podman `--health-timeout` option.
|
||||
|
||||
### `HostName=`
|
||||
|
||||
Sets the host name that is available inside the container.
|
||||
Equivalent to the Podman `--hostname` option.
|
||||
|
||||
### `Image=`
|
||||
|
||||
The image to run in the container. This image must be locally installed for the service to work
|
||||
|
Reference in New Issue
Block a user