Skip to content

Commit d8775c7

Browse files
committed
add support for device_cgroup_rules
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 158b5ff commit d8775c7

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)