mirror of https://github.com/containers/podman.git
fix: neutral value for MemorySwappiness
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
e944544271
commit
bacdbf6e20
|
@ -238,7 +238,7 @@ func makeCreateConfig(ctx context.Context, containerConfig *config.Config, input
|
|||
Pod: "", // podman
|
||||
PodmanPath: "", // podman
|
||||
Quiet: false, // front-end only
|
||||
Resources: createconfig.CreateResourceConfig{},
|
||||
Resources: createconfig.CreateResourceConfig{MemorySwappiness: -1},
|
||||
RestartPolicy: input.HostConfig.RestartPolicy.Name,
|
||||
Rm: input.HostConfig.AutoRemove,
|
||||
StopSignal: stopSignal,
|
||||
|
|
Loading…
Reference in New Issue