Browse code

Fix formatted on build

Todd Lunter authored on 2013/10/30 21:50:21
Showing 2 changed files
... ...
@@ -945,34 +945,34 @@ Build an image from Dockerfile via stdin
945 945
 
946 946
    Build an image from Dockerfile via stdin
947 947
 
948
-   **Example request**:
948
+    **Example request**:
949 949
 
950
-   .. sourcecode:: http
950
+    .. sourcecode:: http
951 951
 
952
-      POST /build HTTP/1.1
952
+        POST /build HTTP/1.1
953 953
 
954
-      {{ STREAM }}
954
+        {{ STREAM }}
955 955
 
956
-   **Example response**:
956
+    **Example response**:
957 957
 
958
-   .. sourcecode:: http
958
+    .. sourcecode:: http
959 959
 
960
-      HTTP/1.1 200 OK
960
+        HTTP/1.1 200 OK
961 961
 
962
-      {{ STREAM }}
962
+        {{ STREAM }}
963 963
 
964 964
 
965
-       The stream must be a tar archive compressed with one of the following algorithms:
966
-       identity (no compression), gzip, bzip2, xz. The archive must include a file called
967
-       `Dockerfile` at its root. It may include any number of other files, which will be
968
-       accessible in the build context (See the ADD build command).
965
+    The stream must be a tar archive compressed with one of the following algorithms:
966
+    identity (no compression), gzip, bzip2, xz. The archive must include a file called
967
+    `Dockerfile` at its root. It may include any number of other files, which will be
968
+    accessible in the build context (See the ADD build command).
969 969
 
970
-       The Content-type header should be set to "application/tar".
970
+    The Content-type header should be set to "application/tar".
971 971
 
972
-	:query t: repository name (and optionally a tag) to be applied to the resulting image in case of success
973
-	:query q: suppress verbose build output
972
+    :query t: repository name (and optionally a tag) to be applied to the resulting image in case of success
973
+    :query q: suppress verbose build output
974 974
     :query nocache: do not use the cache when building the image
975
-	:statuscode 200: no error
975
+    :statuscode 200: no error
976 976
     :statuscode 500: server error
977 977
 
978 978
 
... ...
@@ -1069,8 +1069,8 @@ Show the docker version information
1069 1069
 		"GoVersion":"go1.0.3"
1070 1070
 	   }
1071 1071
 
1072
-        :statuscode 200: no error
1073
-	:statuscode 500: server error
1072
+    :statuscode 200: no error
1073
+    :statuscode 500: server error
1074 1074
 
1075 1075
 
1076 1076
 Create a new image from a container's changes
... ...
@@ -995,36 +995,36 @@ Build an image from Dockerfile via stdin
995 995
 
996 996
 .. http:post:: /build
997 997
 
998
-   Build an image from Dockerfile via stdin
998
+    Build an image from Dockerfile via stdin
999 999
 
1000
-   **Example request**:
1001
-
1002
-   .. sourcecode:: http
1000
+    **Example request**:
1003 1001
 
1004
-      POST /build HTTP/1.1
1002
+    .. sourcecode:: http
1005 1003
 
1006
-      {{ STREAM }}
1004
+        POST /build HTTP/1.1
1007 1005
 
1008
-   **Example response**:
1006
+        {{ STREAM }}
1009 1007
 
1010
-   .. sourcecode:: http
1008
+    **Example response**:
1011 1009
 
1012
-      HTTP/1.1 200 OK
1010
+    .. sourcecode:: http
1013 1011
 
1014
-      {{ STREAM }}
1012
+        HTTP/1.1 200 OK
1015 1013
 
1014
+        {{ STREAM }}
1016 1015
 
1017
-       The stream must be a tar archive compressed with one of the following algorithms:
1018
-       identity (no compression), gzip, bzip2, xz. The archive must include a file called
1019
-       `Dockerfile` at its root. It may include any number of other files, which will be
1020
-       accessible in the build context (See the ADD build command).
1021 1016
 
1022
-       The Content-type header should be set to "application/tar".
1017
+    The stream must be a tar archive compressed with one of the following algorithms:
1018
+    identity (no compression), gzip, bzip2, xz. The archive must include a file called
1019
+    `Dockerfile` at its root. It may include any number of other files, which will be
1020
+    accessible in the build context (See the ADD build command).
1021
+    
1022
+    The Content-type header should be set to "application/tar".
1023 1023
 
1024
-	:query t: repository name (and optionally a tag) to be applied to the resulting image in case of success
1025
-	:query q: suppress verbose build output
1024
+    :query t: repository name (and optionally a tag) to be applied to the resulting image in case of success
1025
+    :query q: suppress verbose build output
1026 1026
     :query nocache: do not use the cache when building the image
1027
-	:statuscode 200: no error
1027
+    :statuscode 200: no error
1028 1028
     :statuscode 500: server error
1029 1029
 
1030 1030