mirror of https://github.com/docker/compose.git
add support for device_cgroup_rules
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
158b5ff6a3
commit
d8775c7a28
|
@ -500,6 +500,7 @@ func getDeployResources(s types.ServiceConfig) container.Resources {
|
|||
CPUShares: s.CPUShares,
|
||||
CPUPercent: int64(s.CPUS * 100),
|
||||
CpusetCpus: s.CPUSet,
|
||||
DeviceCgroupRules: s.DeviceCgroupRules,
|
||||
}
|
||||
|
||||
if s.PidsLimit != 0 {
|
||||
|
|
Loading…
Reference in New Issue