Add support for cpusets. Requires docker-py >= 0.6.0

This commit is contained in:
Daniel Kerwin 2014-11-24 22:55:14 +01:00 committed by Matt Clay
parent 87c8d016dc
commit 940baa92a6

View file

@ -285,8 +285,14 @@ options:
docker-py >= 0.5.0.
default: false
version_added: "1.9"
cpuset:
description:
- CPUs in which to allow execution. Requires docker-py >= 0.6.0.
required: false
default: null
version_added: "1.8"
author:
author:
- "Cove Schneider (@cove)"
- "Joshua Conner (@joshuaconner)"
- "Pavel Antonov (@softzilla)"
@ -1610,6 +1616,7 @@ def main():
pid = dict(default=None),
insecure_registry = dict(default=False, type='bool'),
log_driver = dict(default=None, choices=['json-file', 'none', 'syslog']),
cpuset = dict(default=None),
),
required_together = (
['tls_client_cert', 'tls_client_key'],