mirror of https://github.com/k3s-io/k3s
Merge pull request #74913 from yastij/explicit-restart-policy
explicit the restartPolicy on the dockershimpull/564/head
commit
a6d8dbcaef
|
@ -137,6 +137,9 @@ func (ds *dockerService) CreateContainer(_ context.Context, r *runtimeapi.Create
|
||||||
},
|
},
|
||||||
HostConfig: &dockercontainer.HostConfig{
|
HostConfig: &dockercontainer.HostConfig{
|
||||||
Binds: generateMountBindings(config.GetMounts()),
|
Binds: generateMountBindings(config.GetMounts()),
|
||||||
|
RestartPolicy: dockercontainer.RestartPolicy{
|
||||||
|
Name: "no",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue