Merge pull request #4277 from SvenDowideit/tianon-made-me-doit

small update to API docs to go with #4276
Upstream-commit: 0c8c87d9ff8a4dcc794c137d69ef3fd91527035e
Component: engine
This commit is contained in:
Andy Rothfusz
2014-02-21 10:57:51 -08:00

View File

@ -993,12 +993,12 @@ Search images
2.3 Misc
--------
Build an image from Dockerfile via stdin
****************************************
Build an image from Dockerfile
******************************
.. http:post:: /build
Build an image from Dockerfile via stdin
Build an image from Dockerfile using a POST body.
**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 q: suppress verbose build output
: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 X-Registry-Config: base64-encoded ConfigFile object
:statuscode 200: no error