Merge branch '610-improve_rmi-feature'
* Runtime: improved image removal to garbage-collect unreferenced parents - Runtime: fixed image removal to cleanly remove tags and repositories Upstream-commit: 5ecfe13be9f8f47e27e5134e60d14d195a1baeaa Component: engine
This commit is contained in:
@@ -777,6 +777,7 @@ Tag an image into a repository
|
||||
:statuscode 200: no error
|
||||
:statuscode 400: bad parameter
|
||||
:statuscode 404: no such image
|
||||
:statuscode 409: conflict
|
||||
:statuscode 500: server error
|
||||
|
||||
|
||||
@@ -793,14 +794,30 @@ Remove an image
|
||||
|
||||
DELETE /images/test HTTP/1.1
|
||||
|
||||
**Example response**:
|
||||
**Example response v1.0**:
|
||||
|
||||
.. sourcecode:: http
|
||||
|
||||
HTTP/1.1 204 OK
|
||||
|
||||
**Example response v1.1**:
|
||||
|
||||
.. sourcecode:: http
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
Content-type: application/json
|
||||
|
||||
[
|
||||
{"Untagged":"3e2f21a89f"},
|
||||
{"Deleted":"3e2f21a89f"},
|
||||
{"Deleted":"53b4f83ac9"}
|
||||
]
|
||||
|
||||
:query force: 1/True/true or 0/False/false, default false
|
||||
:statuscode 200: no error
|
||||
:statuscode 204: no error
|
||||
:statuscode 404: no such image
|
||||
:statuscode 409: conflict
|
||||
:statuscode 500: server error
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user