mirror of
https://github.com/containers/podman.git
synced 2025-06-20 09:03:43 +08:00
Merge pull request #3818 from chenzhiwei/hostname
Set Pod hostname as Pod name
This commit is contained in:
@ -30,6 +30,9 @@ func (r *Runtime) makeInfraContainer(ctx context.Context, p *Pod, imgName, imgID
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Set Pod hostname as Pod name
|
||||
g.Config.Hostname = p.config.Name
|
||||
|
||||
isRootless := rootless.IsRootless()
|
||||
|
||||
entryCmd := []string{r.config.InfraCommand}
|
||||
|
Reference in New Issue
Block a user