Explorar o código

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

small update to API docs to go with #4276
Andy Rothfusz %!s(int64=11) %!d(string=hai) anos
pai
achega
0c8c87d9ff
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      docs/sources/reference/api/docker_remote_api_v1.9.rst

+ 4 - 3
docs/sources/reference/api/docker_remote_api_v1.9.rst

@@ -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