Skip to content

Commit db825d8

Browse files
committed
pid_mode documentation
1 parent af492c3 commit db825d8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,8 @@ from. Optionally a single string joining container id's with commas
674674
* cap_add (list of str): See note above
675675
* cap_drop (list of str): See note above
676676
* extra_hosts (dict): custom host-to-IP mappings (host:ip)
677+
* pid_mode (str): if set to "host", use the host PID namespace inside the
678+
container
677679

678680
```python
679681
>>> from docker import Client

docs/hostconfig.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ for example:
8383
* cap_drop (list of str): Drop kernel capabilities
8484
* extra_hosts (dict): custom host-to-IP mappings (host:ip)
8585
* read_only (bool): mount the container's root filesystem as read only
86+
* pid_mode (str): if set to "host", use the host PID namespace inside the
87+
container
8688

8789
**Returns** (dict) HostConfig dictionary
8890

0 commit comments

Comments
 (0)