small update to API docs to go with #4276

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
This commit is contained in:
Sven Dowideit 2014-02-21 17:42:02 +10:00
parent 4f20538f73
commit f83e553452

View file

@ -993,12 +993,12 @@ Search images
2.3 Misc 2.3 Misc
-------- --------
Build an image from Dockerfile via stdin Build an image from Dockerfile
**************************************** ******************************
.. http:post:: /build .. http:post:: /build
Build an image from Dockerfile via stdin Build an image from Dockerfile using a POST body.
**Example request**: **Example request**:
@ -1032,6 +1032,7 @@ Build an image from Dockerfile via stdin
:query t: repository name (and optionally a tag) to be applied to the resulting image in case of success :query t: repository name (and optionally a tag) to be applied to the resulting image in case of success
:query q: suppress verbose build output :query q: suppress verbose build output
:query nocache: do not use the cache when building the image :query nocache: do not use the cache when building the image
:query rm: Remove intermediate containers after a successful build
:reqheader Content-type: should be set to ``"application/tar"``. :reqheader Content-type: should be set to ``"application/tar"``.
:reqheader X-Registry-Config: base64-encoded ConfigFile object :reqheader X-Registry-Config: base64-encoded ConfigFile object
:statuscode 200: no error :statuscode 200: no error