pid_mode documentation

This commit is contained in:
Joffrey F 2015-02-11 12:16:00 -08:00
parent af492c3057
commit db825d84a8
2 changed files with 4 additions and 0 deletions

View File

@ -674,6 +674,8 @@ from. Optionally a single string joining container id's with commas
* cap_add (list of str): See note above
* cap_drop (list of str): See note above
* extra_hosts (dict): custom host-to-IP mappings (host:ip)
* pid_mode (str): if set to "host", use the host PID namespace inside the
container
```python
>>> from docker import Client

View File

@ -83,6 +83,8 @@ for example:
* cap_drop (list of str): Drop kernel capabilities
* extra_hosts (dict): custom host-to-IP mappings (host:ip)
* 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
container
**Returns** (dict) HostConfig dictionary