Merge pull request #7788 from IceCodeNew/patch-1

Updating on supported restart policy
This commit is contained in:
OpenShift Merge Robot
2020-09-29 15:38:24 +00:00
committed by GitHub

View File

@ -389,7 +389,7 @@ func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet {
createFlags.StringVar(
&cf.Restart,
"restart", "",
`Restart policy to apply when a container exits ("always"|"no"|"on-failure")`,
`Restart policy to apply when a container exits ("always"|"no"|"on-failure"|"unless-stopped")`,
)
createFlags.BoolVar(
&cf.Rm,