Add auto_remove to api-ref
Change-Id: Icc81502bc6f1d7b65b7c47661f9e07ad65c649d3
This commit is contained in:
parent
2057b668bf
commit
5a7a613548
@ -50,6 +50,7 @@ Request
|
|||||||
- nets: nets
|
- nets: nets
|
||||||
- runtime: runtime
|
- runtime: runtime
|
||||||
- hostname: hostname
|
- hostname: hostname
|
||||||
|
- auto_remove: auto_remove
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
----------------
|
----------------
|
||||||
@ -85,6 +86,8 @@ Response
|
|||||||
- task_state: task_state
|
- task_state: task_state
|
||||||
- status_reason: status_reason
|
- status_reason: status_reason
|
||||||
- ports: ports
|
- ports: ports
|
||||||
|
- auto_remove: auto_remove
|
||||||
|
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
@ -47,6 +47,12 @@ addresses:
|
|||||||
IP address of the container. This includes both ipv4 and/or ipv6 addresses.
|
IP address of the container. This includes both ipv4 and/or ipv6 addresses.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
|
auto_remove:
|
||||||
|
description: |
|
||||||
|
enable auto-removal of the container on daemon side
|
||||||
|
when the container’s process exits.
|
||||||
|
in: body
|
||||||
|
type: boolean
|
||||||
binary:
|
binary:
|
||||||
in: body
|
in: body
|
||||||
type: string
|
type: string
|
||||||
|
@ -28,5 +28,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"runtime": "runc",
|
"runtime": "runc",
|
||||||
"hostname": "testhost"
|
"hostname": "testhost",
|
||||||
|
"auto_remove": "False"
|
||||||
}
|
}
|
||||||
|
@ -35,5 +35,6 @@
|
|||||||
"cpu": 2.0,
|
"cpu": 2.0,
|
||||||
"interactive": false,
|
"interactive": false,
|
||||||
"runtime": "runc",
|
"runtime": "runc",
|
||||||
"hostname": "testhost"
|
"hostname": "testhost",
|
||||||
|
"auto_remove": "False"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user