Skip to content

Commit 540ad83

Browse files
authored
Merge pull request docker#9251 from ndeloof/device_cgroup_rules
add support for device_cgroup_rules
2 parents 92be1e7 + d8775c7 commit 540ad83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/compose/create.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ func getDeployResources(s types.ServiceConfig) container.Resources {
500500
CPUShares: s.CPUShares,
501501
CPUPercent: int64(s.CPUS * 100),
502502
CpusetCpus: s.CPUSet,
503+
DeviceCgroupRules: s.DeviceCgroupRules,
503504
}
504505

505506
if s.PidsLimit != 0 {

0 commit comments

Comments
 (0)