File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -674,6 +674,8 @@ from. Optionally a single string joining container id's with commas
674
674
* cap_add (list of str ): See note above
675
675
* cap_drop (list of str ): See note above
676
676
* 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
677
679
678
680
```python
679
681
>> > from docker import Client
Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ for example:
83
83
* cap_drop (list of str): Drop kernel capabilities
84
84
* extra_hosts (dict): custom host-to-IP mappings (host: ip )
85
85
* 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
86
88
87
89
** Returns** (dict) HostConfig dictionary
88
90
You can’t perform that action at this time.
0 commit comments