mirror of https://github.com/containers/podman.git
Revert "Default CPUShares in Inspect are 1024"
cpu-share is 0 in docker inspect, see
https://github.com/moby/moby/issues/35452
This reverts commit eb229d526c
.
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
edd623c419
commit
f7241b24e6
|
@ -445,9 +445,6 @@ func (c *Container) generateInspectContainerHostConfig(ctrSpec *spec.Spec, named
|
|||
hostConfig.ShmSize = c.config.ShmSize
|
||||
hostConfig.Runtime = "oci"
|
||||
|
||||
// Default CPUShares is 1024, but we may overwrite below.
|
||||
hostConfig.CpuShares = 1024
|
||||
|
||||
// This is very expensive to initialize.
|
||||
// So we don't want to initialize it unless we absolutely have to - IE,
|
||||
// there are things that require a major:minor to path translation.
|
||||
|
|
Loading…
Reference in New Issue