зеркало из https://github.com/microsoft/docker.git
Merge pull request #23609 from Microsoft/WindowsMemory
Windows: Re-enabled support for memory limit
This commit is contained in:
Коммит
1f3efe6776
|
@ -176,7 +176,7 @@ func (daemon *Daemon) createSpec(c *container.Container) (*libcontainerd.Spec, e
|
|||
Shares: &cpuShares,
|
||||
},
|
||||
Memory: &windowsoci.Memory{
|
||||
//TODO Limit: ...,
|
||||
Limit: &c.HostConfig.Memory,
|
||||
//TODO Reservation: ...,
|
||||
},
|
||||
Network: &windowsoci.Network{
|
||||
|
|
Загрузка…
Ссылка в новой задаче