Merge "Add example for container commit"
This commit is contained in:
commit
31bcfec4f8
@ -665,7 +665,7 @@ Commit a container
|
||||
|
||||
.. rest_method:: POST /v1/containers/{container_ident}/commit?tag={tag}&repository={repository}
|
||||
|
||||
Create a new image from a container's changes
|
||||
Create a new image from a container's changes.
|
||||
|
||||
Response Codes
|
||||
--------------
|
||||
@ -697,6 +697,12 @@ Response
|
||||
|
||||
- image: image
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
||||
.. literalinclude:: samples/container-commit-resp.json
|
||||
:language: javascript
|
||||
|
||||
|
||||
Detach a network from a container
|
||||
=================================
|
||||
|
3
api-ref/source/samples/container-commit-resp.json
Normal file
3
api-ref/source/samples/container-commit-resp.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"uuid": "64281d85-e9a3-4c54-8d30-9ee72a596d8a"
|
||||
}
|
Loading…
Reference in New Issue
Block a user