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
|
||||
- runtime: runtime
|
||||
- hostname: hostname
|
||||
- auto_remove: auto_remove
|
||||
|
||||
Request Example
|
||||
----------------
|
||||
@ -85,6 +86,8 @@ Response
|
||||
- task_state: task_state
|
||||
- status_reason: status_reason
|
||||
- ports: ports
|
||||
- auto_remove: auto_remove
|
||||
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
@ -47,6 +47,12 @@ addresses:
|
||||
IP address of the container. This includes both ipv4 and/or ipv6 addresses.
|
||||
in: body
|
||||
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:
|
||||
in: body
|
||||
type: string
|
||||
|
@ -28,5 +28,6 @@
|
||||
}
|
||||
],
|
||||
"runtime": "runc",
|
||||
"hostname": "testhost"
|
||||
"hostname": "testhost",
|
||||
"auto_remove": "False"
|
||||
}
|
||||
|
@ -35,5 +35,6 @@
|
||||
"cpu": 2.0,
|
||||
"interactive": false,
|
||||
"runtime": "runc",
|
||||
"hostname": "testhost"
|
||||
"hostname": "testhost",
|
||||
"auto_remove": "False"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user