mirror of
https://github.com/containers/podman.git
synced 2025-10-16 18:53:19 +08:00
Add --no-hostname option
Fixes: https://github.com/containers/podman/issues/25002 Also add the ability to inspect containers for UseImageHosts and UseImageHostname. Finally fixed some bugs in handling of --no-hosts for Pods, which I descovered. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -109,6 +109,7 @@ func KubePlay(w http.ResponseWriter, r *http.Request) {
|
||||
LogDriver string `schema:"logDriver"`
|
||||
LogOptions []string `schema:"logOptions"`
|
||||
Network []string `schema:"network"`
|
||||
NoHostname bool `schema:"noHostname"`
|
||||
NoHosts bool `schema:"noHosts"`
|
||||
NoTrunc bool `schema:"noTrunc"`
|
||||
Replace bool `schema:"replace"`
|
||||
@ -182,6 +183,7 @@ func KubePlay(w http.ResponseWriter, r *http.Request) {
|
||||
LogDriver: logDriver,
|
||||
LogOptions: query.LogOptions,
|
||||
Networks: query.Network,
|
||||
NoHostname: query.NoHostname,
|
||||
NoHosts: query.NoHosts,
|
||||
Password: password,
|
||||
PublishPorts: query.PublishPorts,
|
||||
|
Reference in New Issue
Block a user