mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add link query in container rm api doc
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
bade08a063
commit
2972b99f1b
8 changed files with 19 additions and 0 deletions
|
@ -4082,6 +4082,11 @@ paths:
|
||||||
description: "If the container is running, kill it before removing it."
|
description: "If the container is running, kill it before removing it."
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
default: false
|
default: false
|
||||||
|
- name: "link"
|
||||||
|
in: "query"
|
||||||
|
description: "Remove the specified link associated with the container."
|
||||||
|
type: "boolean"
|
||||||
|
default: false
|
||||||
tags: ["Container"]
|
tags: ["Container"]
|
||||||
/containers/{id}/archive:
|
/containers/{id}/archive:
|
||||||
head:
|
head:
|
||||||
|
|
|
@ -1056,6 +1056,8 @@ Remove the container `id` from the filesystem
|
||||||
associated to the container. Default `false`.
|
associated to the container. Default `false`.
|
||||||
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
- **link** - 1/True/true or 0/False/false, Remove the specified
|
||||||
|
link associated to the container. Default `false`.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
|
|
|
@ -1095,6 +1095,8 @@ Remove the container `id` from the filesystem
|
||||||
associated to the container. Default `false`.
|
associated to the container. Default `false`.
|
||||||
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
- **link** - 1/True/true or 0/False/false, Remove the specified
|
||||||
|
link associated to the container. Default `false`.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
|
|
|
@ -1102,6 +1102,8 @@ Remove the container `id` from the filesystem
|
||||||
associated to the container. Default `false`.
|
associated to the container. Default `false`.
|
||||||
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
- **link** - 1/True/true or 0/False/false, Remove the specified
|
||||||
|
link associated to the container. Default `false`.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
|
|
|
@ -1185,6 +1185,8 @@ Remove the container `id` from the filesystem
|
||||||
associated to the container. Default `false`.
|
associated to the container. Default `false`.
|
||||||
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
- **link** - 1/True/true or 0/False/false, Remove the specified
|
||||||
|
link associated to the container. Default `false`.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
|
|
|
@ -1364,6 +1364,8 @@ Remove the container `id` from the filesystem
|
||||||
associated to the container. Default `false`.
|
associated to the container. Default `false`.
|
||||||
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
- **link** - 1/True/true or 0/False/false, Remove the specified
|
||||||
|
link associated to the container. Default `false`.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
|
|
|
@ -1399,6 +1399,8 @@ Remove the container `id` from the filesystem
|
||||||
associated to the container. Default `false`.
|
associated to the container. Default `false`.
|
||||||
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
- **link** - 1/True/true or 0/False/false, Remove the specified
|
||||||
|
link associated to the container. Default `false`.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
|
|
|
@ -1441,6 +1441,8 @@ Remove the container `id` from the filesystem
|
||||||
associated to the container. Default `false`.
|
associated to the container. Default `false`.
|
||||||
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
- **force** - 1/True/true or 0/False/false, Kill then remove the container.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
- **link** - 1/True/true or 0/False/false, Remove the specified
|
||||||
|
link associated to the container. Default `false`.
|
||||||
|
|
||||||
**Status codes**:
|
**Status codes**:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue