mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
Merge pull request #5869 from rhatdan/user
We were not handling the user option on create
This commit is contained in:
@ -34,6 +34,7 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
|
||||
return nil
|
||||
}
|
||||
|
||||
s.User = c.User
|
||||
inputCommand := args[1:]
|
||||
if len(c.HealthCmd) > 0 {
|
||||
s.HealthConfig, err = makeHealthCheckFromCli(c.HealthCmd, c.HealthInterval, c.HealthRetries, c.HealthTimeout, c.HealthStartPeriod)
|
||||
|
Reference in New Issue
Block a user