Skip to content

Commit 53aa77f

Browse files
committed
Set 'CpusetCpus' with the value of the cpuset param in create_container
1 parent f28e90b commit 53aa77f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/utils/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ def create_container_config(
577577
'Entrypoint': entrypoint,
578578
'CpuShares': cpu_shares,
579579
'Cpuset': cpuset,
580+
'CpusetCpus': cpuset,
580581
'WorkingDir': working_dir,
581582
'MemorySwap': memswap_limit,
582583
'HostConfig': host_config,

0 commit comments

Comments
 (0)