mirror of
https://github.com/moby/moby.git
synced 2026-08-05 23:51:18 +00:00
Add missing API docs for HostConfig.PidMode
The `--pid` flag was added in Docker 1.5.0, but the API changes were not documented. In Docker 1.12.0, `--pid=container:<name|id>` was added as an additional option, but also undocumented. This adds the missing API documentation for this option. Also see commits47e3da848f(for 1.5.0), andebeb5a0422(for 1.12.0). Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit2c9b5addc5) Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
committed by
Tibor Vass
parent
5dafcf2170
commit
d16f04942f
@@ -137,6 +137,8 @@ This section lists each version from latest to oldest. Each listing includes a
|
||||
no longer expects a "Container" field to be present. This property was not used
|
||||
and is no longer sent by the docker client.
|
||||
* `POST /containers/create/` now validates the hostname (should be a valid RFC 1123 hostname).
|
||||
* `POST /containers/create/` `HostConfig.PidMode` field now accepts `container:<name|id>`,
|
||||
to have the container join the PID namespace of an existing container.
|
||||
|
||||
### v1.23 API changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user