Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
| ... | ... |
@@ -993,12 +993,12 @@ Search images |
| 993 | 993 |
2.3 Misc |
| 994 | 994 |
-------- |
| 995 | 995 |
|
| 996 |
-Build an image from Dockerfile via stdin |
|
| 997 |
-**************************************** |
|
| 996 |
+Build an image from Dockerfile |
|
| 997 |
+****************************** |
|
| 998 | 998 |
|
| 999 | 999 |
.. http:post:: /build |
| 1000 | 1000 |
|
| 1001 |
- Build an image from Dockerfile via stdin |
|
| 1001 |
+ Build an image from Dockerfile using a POST body. |
|
| 1002 | 1002 |
|
| 1003 | 1003 |
**Example request**: |
| 1004 | 1004 |
|
| ... | ... |
@@ -1032,6 +1032,7 @@ Build an image from Dockerfile via stdin |
| 1032 | 1032 |
:query t: repository name (and optionally a tag) to be applied to the resulting image in case of success |
| 1033 | 1033 |
:query q: suppress verbose build output |
| 1034 | 1034 |
:query nocache: do not use the cache when building the image |
| 1035 |
+ :query rm: Remove intermediate containers after a successful build |
|
| 1035 | 1036 |
:reqheader Content-type: should be set to ``"application/tar"``. |
| 1036 | 1037 |
:reqheader X-Registry-Config: base64-encoded ConfigFile object |
| 1037 | 1038 |
:statuscode 200: no error |