We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f28e90b + 1f74262 commit 8261a91Copy full SHA for 8261a91
docker/utils/utils.py
@@ -577,6 +577,7 @@ def create_container_config(
577
'Entrypoint': entrypoint,
578
'CpuShares': cpu_shares,
579
'Cpuset': cpuset,
580
+ 'CpusetCpus': cpuset,
581
'WorkingDir': working_dir,
582
'MemorySwap': memswap_limit,
583
'HostConfig': host_config,
tests/test.py
@@ -489,6 +489,7 @@ def test_create_container_with_cpuset(self):
489
"StdinOnce": false,
490
"NetworkDisabled": false,
491
"Cpuset": "0,1",
492
+ "CpusetCpus": "0,1",
493
"MemorySwap": 0}'''))
494
self.assertEqual(args[1]['headers'],
495
{'Content-Type': 'application/json'})
0 commit comments