mirror of https://github.com/docker/docker-py.git
ulimits: Updated docs
This commit is contained in:
parent
d71bfb1b3d
commit
650abccd7e
|
@ -749,6 +749,7 @@ from. Optionally a single string joining container id's with commas
|
||||||
* pid_mode (str): if set to "host", use the host PID namespace inside the
|
* pid_mode (str): if set to "host", use the host PID namespace inside the
|
||||||
container
|
container
|
||||||
* security_opt (list): A list of string values to customize labels for MLS systems, such as SELinux.
|
* security_opt (list): A list of string values to customize labels for MLS systems, such as SELinux.
|
||||||
|
* ulimits (list): A list of dicts or `docker.utils.Ulimit` objects.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
>>> from docker import Client
|
>>> from docker import Client
|
||||||
|
|
|
@ -85,6 +85,8 @@ for example:
|
||||||
* read_only (bool): mount the container's root filesystem as read only
|
* read_only (bool): mount the container's root filesystem as read only
|
||||||
* pid_mode (str): if set to "host", use the host PID namespace inside the
|
* pid_mode (str): if set to "host", use the host PID namespace inside the
|
||||||
container
|
container
|
||||||
|
* security_opt (list): A list of string values to customize labels for MLS systems, such as SELinux.
|
||||||
|
* ulimits (list): A list of dicts or `docker.utils.Ulimit` objects.
|
||||||
|
|
||||||
**Returns** (dict) HostConfig dictionary
|
**Returns** (dict) HostConfig dictionary
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue