diff options
author | Joffrey F <joffrey@docker.com> | 2016-08-23 17:05:08 -0700 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2016-08-23 17:05:08 -0700 |
commit | 902c7a76ccf23e2e210e982cc832a2770cfc99f4 (patch) | |
tree | 2b7706ba369e1f8be031c7bd2f0044cf131121ca /docs | |
parent | bf2235bc12254bc989819b44fb06a99e63a2adf7 (diff) | |
download | docker-py-aiden0z-master.tar.gz |
Docs and tests for pids_limit.aiden0z-master
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hostconfig.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/hostconfig.md b/docs/hostconfig.md index 6645bd1..008d5cf 100644 --- a/docs/hostconfig.md +++ b/docs/hostconfig.md @@ -111,11 +111,12 @@ for example: CPU period. * cpu_shares (int): CPU shares (relative weight) * cpuset_cpus (str): CPUs in which to allow execution (0-3, 0,1) -* blkio_weight: Block IO weight (relative weight), accepts a weight value between 10 and 1000. +* blkio_weight: Block IO weight (relative weight), accepts a weight value + between 10 and 1000. * blkio_weight_device: Block IO weight (relative device weight) in the form of: `[{"Path": "device_path", "Weight": weight}]` -* device_read_bps: Limit read rate (bytes per second) from a device in the form of: - `[{"Path": "device_path", "Rate": rate}]` +* device_read_bps: Limit read rate (bytes per second) from a device in the + form of: `[{"Path": "device_path", "Rate": rate}]` * device_write_bps: Limit write rate (bytes per second) from a device. * device_read_iops: Limit read rate (IO per second) from a device. * device_write_iops: Limit write rate (IO per second) from a device. @@ -128,6 +129,7 @@ for example: * sysctls (dict): Kernel parameters to set in the container. * userns_mode (str): Sets the user namespace mode for the container when user namespace remapping option is enabled. Supported values are: `host` +* pids_limit (int): Tune a container’s pids limit. Set -1 for unlimited. **Returns** (dict) HostConfig dictionary |