mirror of
https://github.com/containers/podman.git
synced 2025-06-01 17:17:47 +08:00
Kube Play - allow setting and overriding published host ports
Add a new flag --publish Remote - Pass PublishPorts as a string array ABI - translate the string array to Ports and merge with the ports in the spec Add e2e tests Add option to man doc Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
@ -170,6 +170,13 @@ When no network option is specified and *host* network mode is not configured in
|
||||
|
||||
This option conflicts with host added in the Kubernetes YAML.
|
||||
|
||||
#### **--publish**=*[[ip:][hostPort]:]containerPort[/protocol]*
|
||||
|
||||
Define or override a port definition in the YAML file.
|
||||
|
||||
The lists of ports in the YAML file and the command line are merged. Matching is done by using the **containerPort** field.
|
||||
If **containerPort** exists in both the YAML file and the option, the latter takes precedence.
|
||||
|
||||
#### **--quiet**, **-q**
|
||||
|
||||
Suppress output information when pulling images
|
||||
|
Reference in New Issue
Block a user