mirror of https://github.com/docker/docker-py.git
pid_mode documentation
This commit is contained in:
parent
af492c3057
commit
db825d84a8
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue