diff options
Diffstat (limited to 'docker/models/containers.py')
-rw-r--r-- | docker/models/containers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/models/containers.py b/docker/models/containers.py index 107a020..84dfa48 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -515,6 +515,8 @@ class ContainerCollection(Collection): (``0-3``, ``0,1``). Only effective on NUMA systems. detach (bool): Run container in the background and return a :py:class:`Container` object. + device_cgroup_rules (:py:class:`list`): A list of cgroup rules to + apply to the container. device_read_bps: Limit read rate (bytes per second) from a device in the form of: `[{"Path": "device_path", "Rate": rate}]` device_read_iops: Limit read rate (IO per second) from a device. @@ -912,6 +914,7 @@ RUN_HOST_CONFIG_KWARGS = [ 'cpuset_mems', 'cpu_rt_period', 'cpu_rt_runtime', + 'device_cgroup_rules', 'device_read_bps', 'device_read_iops', 'device_write_bps', |