mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Merge pull request #9251 from ndeloof/device_cgroup_rules
add support for device_cgroup_rules
This commit is contained in:
commit
540ad83a6d
@ -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…
x
Reference in New Issue
Block a user