Docs for #20848: move "--rm" to daemon side.
Add description for introduced API changes.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
| ... | ... |
@@ -116,7 +116,7 @@ This section lists each version from latest to oldest. Each listing includes a |
| 116 | 116 |
|
| 117 | 117 |
[Docker Remote API v1.25](docker_remote_api_v1.25.md) documentation |
| 118 | 118 |
|
| 119 |
-* `POST /containers/create` now takes `AutoRemove` in HostConfig, auto-removal will be done on daemon side. |
|
| 119 |
+* `POST /containers/create` now takes `AutoRemove` in HostConfig, to enable auto-removal of the container on daemon side when the container's process exits. |
|
| 120 | 120 |
|
| 121 | 121 |
### v1.24 API changes |
| 122 | 122 |
|
| ... | ... |
@@ -459,6 +459,8 @@ Create a container |
| 459 | 459 |
The default is not to restart. (optional) |
| 460 | 460 |
An ever increasing delay (double the previous delay, starting at 100mS) |
| 461 | 461 |
is added before each restart to prevent flooding the server. |
| 462 |
+ - **AutoRemove** - Boolean value, set to `true` to automatically remove the container on daemon side |
|
| 463 |
+ when the container's process exits. |
|
| 462 | 464 |
- **UsernsMode** - Sets the usernamespace mode for the container when usernamespace remapping option is enabled. |
| 463 | 465 |
supported values are: `host`. |
| 464 | 466 |
- **NetworkMode** - Sets the networking mode for the container. Supported |