Browse code

Update export, copy and build API to sat 'TAR STREAM' for all versions.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)

Sven Dowideit authored on 2014/09/08 10:51:57
Showing 15 changed files
... ...
@@ -256,7 +256,7 @@ Export the contents of container `id`
256 256
         HTTP/1.1 200 OK
257 257
         Content-Type: application/octet-stream
258 258
 
259
-        {{ STREAM }}
259
+        {{ TAR STREAM }}
260 260
 
261 261
     Status Codes:
262 262
 
... ...
@@ -564,7 +564,7 @@ Insert a file from `url` in the image `name` at `path`
564 564
 
565 565
         HTTP/1.1 200 OK
566 566
 
567
-        {{ STREAM }}
567
+        {{ TAR STREAM }}
568 568
 
569 569
 	Query Parameters:
570 570
 
... ...
@@ -777,7 +777,7 @@ Build an image from Dockerfile via stdin
777 777
 
778 778
         POST /build HTTP/1.1
779 779
 
780
-        {{ STREAM }}
780
+        {{ TAR STREAM }}
781 781
 
782 782
     **Example response**:
783 783
 
... ...
@@ -345,7 +345,7 @@ Export the contents of container `id`
345 345
         HTTP/1.1 200 OK
346 346
         Content-Type: application/octet-stream
347 347
 
348
-        {{ STREAM }}
348
+        {{ TAR STREAM }}
349 349
 
350 350
     Status Codes:
351 351
 
... ...
@@ -624,7 +624,7 @@ Copy files or folders of container `id`
624 624
         HTTP/1.1 200 OK
625 625
         Content-Type: application/octet-stream
626 626
 
627
-        {{ STREAM }}
627
+        {{ TAR STREAM }}
628 628
 
629 629
     Status Codes:
630 630
 
... ...
@@ -1011,7 +1011,7 @@ Build an image from Dockerfile via stdin
1011 1011
 
1012 1012
         POST /build HTTP/1.1
1013 1013
 
1014
-        {{ STREAM }}
1014
+        {{ TAR STREAM }}
1015 1015
 
1016 1016
     **Example response**:
1017 1017
 
... ...
@@ -385,7 +385,7 @@ Export the contents of container `id`
385 385
         HTTP/1.1 200 OK
386 386
         Content-Type: application/octet-stream
387 387
 
388
-        {{ STREAM }}
388
+        {{ TAR STREAM }}
389 389
 
390 390
     Status Codes:
391 391
 
... ...
@@ -664,7 +664,7 @@ Copy files or folders of container `id`
664 664
         HTTP/1.1 200 OK
665 665
         Content-Type: application/octet-stream
666 666
 
667
-        {{ STREAM }}
667
+        {{ TAR STREAM }}
668 668
 
669 669
     Status Codes:
670 670
 
... ...
@@ -1020,7 +1020,7 @@ Build an image from Dockerfile via stdin
1020 1020
 
1021 1021
         POST /build HTTP/1.1
1022 1022
 
1023
-        {{ STREAM }}
1023
+        {{ TAR STREAM }}
1024 1024
 
1025 1025
     **Example response**:
1026 1026
 
... ...
@@ -390,7 +390,7 @@ Export the contents of container `id`
390 390
         HTTP/1.1 200 OK
391 391
         Content-Type: application/octet-stream
392 392
 
393
-        {{ STREAM }}
393
+        {{ TAR STREAM }}
394 394
 
395 395
     Status Codes:
396 396
 
... ...
@@ -710,7 +710,7 @@ Copy files or folders of container `id`
710 710
         HTTP/1.1 200 OK
711 711
         Content-Type: application/octet-stream
712 712
 
713
-        {{ STREAM }}
713
+        {{ TAR STREAM }}
714 714
 
715 715
     Status Codes:
716 716
 
... ...
@@ -1078,7 +1078,7 @@ Build an image from Dockerfile via stdin
1078 1078
 
1079 1079
         POST /build HTTP/1.1
1080 1080
 
1081
-        {{ STREAM }}
1081
+        {{ TAR STREAM }}
1082 1082
 
1083 1083
     **Example response**:
1084 1084
 
... ...
@@ -386,7 +386,7 @@ Export the contents of container `id`
386 386
         HTTP/1.1 200 OK
387 387
         Content-Type: application/octet-stream
388 388
 
389
-        {{ STREAM }}
389
+        {{ TAR STREAM }}
390 390
 
391 391
     Status Codes:
392 392
 
... ...
@@ -708,7 +708,7 @@ Copy files or folders of container `id`
708 708
         HTTP/1.1 200 OK
709 709
         Content-Type: application/octet-stream
710 710
 
711
-        {{ STREAM }}
711
+        {{ TAR STREAM }}
712 712
 
713 713
     Status Codes:
714 714
 
... ...
@@ -1076,7 +1076,7 @@ Build an image from Dockerfile via stdin
1076 1076
 
1077 1077
         POST /build HTTP/1.1
1078 1078
 
1079
-        {{ STREAM }}
1079
+        {{ TAR STREAM }}
1080 1080
 
1081 1081
     **Example response**:
1082 1082
 
... ...
@@ -388,7 +388,7 @@ Export the contents of container `id`
388 388
         HTTP/1.1 200 OK
389 389
         Content-Type: application/octet-stream
390 390
 
391
-        {{ STREAM }}
391
+        {{ TAR STREAM }}
392 392
 
393 393
     Status Codes:
394 394
 
... ...
@@ -1080,7 +1080,7 @@ Build an image from Dockerfile via stdin
1080 1080
 
1081 1081
         POST /build HTTP/1.1
1082 1082
 
1083
-        {{ STREAM }}
1083
+        {{ TAR STREAM }}
1084 1084
 
1085 1085
     **Example response**:
1086 1086
 
... ...
@@ -388,7 +388,7 @@ Export the contents of container `id`
388 388
         HTTP/1.1 200 OK
389 389
         Content-Type: application/octet-stream
390 390
 
391
-        {{ STREAM }}
391
+        {{ TAR STREAM }}
392 392
 
393 393
     Status Codes:
394 394
 
... ...
@@ -712,7 +712,7 @@ Copy files or folders of container `id`
712 712
         HTTP/1.1 200 OK
713 713
         Content-Type: application/octet-stream
714 714
 
715
-        {{ STREAM }}
715
+        {{ TAR STREAM }}
716 716
 
717 717
     Status Codes:
718 718
 
... ...
@@ -1080,7 +1080,7 @@ Build an image from Dockerfile via stdin
1080 1080
 
1081 1081
         POST /build HTTP/1.1
1082 1082
 
1083
-        {{ STREAM }}
1083
+        {{ TAR STREAM }}
1084 1084
 
1085 1085
     **Example response**:
1086 1086
 
... ...
@@ -268,7 +268,7 @@ Export the contents of container `id`
268 268
         HTTP/1.1 200 OK
269 269
         Content-Type: application/octet-stream
270 270
 
271
-        {{ STREAM }}
271
+        {{ TAR STREAM }}
272 272
 
273 273
     Status Codes:
274 274
 
... ...
@@ -815,7 +815,7 @@ Build an image from Dockerfile
815 815
 
816 816
         POST /build HTTP/1.1
817 817
 
818
-        {{ STREAM }}
818
+        {{ TAR STREAM }}
819 819
 
820 820
     **Example response**:
821 821
 
... ...
@@ -306,7 +306,7 @@ Export the contents of container `id`
306 306
         HTTP/1.1 200 OK
307 307
         Content-Type: application/octet-stream
308 308
 
309
-        {{ STREAM }}
309
+        {{ TAR STREAM }}
310 310
 
311 311
     Status Codes:
312 312
 
... ...
@@ -864,7 +864,7 @@ Build an image from Dockerfile via stdin
864 864
 
865 865
         POST /build HTTP/1.1
866 866
 
867
-        {{ STREAM }}
867
+        {{ TAR STREAM }}
868 868
 
869 869
     **Example response**:
870 870
 
... ...
@@ -323,7 +323,7 @@ Export the contents of container `id`
323 323
         HTTP/1.1 200 OK
324 324
         Content-Type: application/octet-stream
325 325
 
326
-        {{ STREAM }}
326
+        {{ TAR STREAM }}
327 327
 
328 328
     Status Codes:
329 329
 
... ...
@@ -546,7 +546,7 @@ Copy files or folders of container `id`
546 546
         HTTP/1.1 200 OK
547 547
         Content-Type: application/octet-stream
548 548
 
549
-        {{ STREAM }}
549
+        {{ TAR STREAM }}
550 550
 
551 551
     Status Codes:
552 552
 
... ...
@@ -909,7 +909,7 @@ Build an image from Dockerfile via stdin
909 909
 
910 910
         POST /build HTTP/1.1
911 911
 
912
-        {{ STREAM }}
912
+        {{ TAR STREAM }}
913 913
 
914 914
     **Example response**:
915 915
 
... ...
@@ -320,7 +320,7 @@ Export the contents of container `id`
320 320
         HTTP/1.1 200 OK
321 321
         Content-Type: application/octet-stream
322 322
 
323
-        {{ STREAM }}
323
+        {{ TAR STREAM }}
324 324
 
325 325
     Status Codes:
326 326
 
... ...
@@ -543,7 +543,7 @@ Copy files or folders of container `id`
543 543
         HTTP/1.1 200 OK
544 544
         Content-Type: application/octet-stream
545 545
 
546
-        {{ STREAM }}
546
+        {{ TAR STREAM }}
547 547
 
548 548
     Status Codes:
549 549
 
... ...
@@ -921,7 +921,7 @@ Build an image from Dockerfile via stdin
921 921
 
922 922
         POST /build HTTP/1.1
923 923
 
924
-        {{ STREAM }}
924
+        {{ TAR STREAM }}
925 925
 
926 926
     **Example response**:
927 927
 
... ...
@@ -370,7 +370,7 @@ Export the contents of container `id`
370 370
         HTTP/1.1 200 OK
371 371
         Content-Type: application/octet-stream
372 372
 
373
-        {{ STREAM }}
373
+        {{ TAR STREAM }}
374 374
 
375 375
     Status Codes:
376 376
 
... ...
@@ -650,7 +650,7 @@ Copy files or folders of container `id`
650 650
         HTTP/1.1 200 OK
651 651
         Content-Type: application/octet-stream
652 652
 
653
-        {{ STREAM }}
653
+        {{ TAR STREAM }}
654 654
 
655 655
     Status Codes:
656 656
 
... ...
@@ -1018,7 +1018,7 @@ Build an image from Dockerfile via stdin
1018 1018
 
1019 1019
         POST /build HTTP/1.1
1020 1020
 
1021
-        {{ STREAM }}
1021
+        {{ TAR STREAM }}
1022 1022
 
1023 1023
     **Example response**:
1024 1024
 
... ...
@@ -326,7 +326,7 @@ Export the contents of container `id`
326 326
         HTTP/1.1 200 OK
327 327
         Content-Type: application/octet-stream
328 328
 
329
-        {{ STREAM }}
329
+        {{ TAR STREAM }}
330 330
 
331 331
     Status Codes:
332 332
 
... ...
@@ -599,7 +599,7 @@ Copy files or folders of container `id`
599 599
         HTTP/1.1 200 OK
600 600
         Content-Type: application/octet-stream
601 601
 
602
-        {{ STREAM }}
602
+        {{ TAR STREAM }}
603 603
 
604 604
     Status Codes:
605 605
 
... ...
@@ -965,7 +965,7 @@ Build an image from Dockerfile via stdin
965 965
 
966 966
         POST /build HTTP/1.1
967 967
 
968
-        {{ STREAM }}
968
+        {{ TAR STREAM }}
969 969
 
970 970
     **Example response**:
971 971
 
... ...
@@ -362,7 +362,7 @@ Export the contents of container `id`
362 362
         HTTP/1.1 200 OK
363 363
         Content-Type: application/octet-stream
364 364
 
365
-        {{ STREAM }}
365
+        {{ TAR STREAM }}
366 366
 
367 367
     Status Codes:
368 368
 
... ...
@@ -641,7 +641,7 @@ Copy files or folders of container `id`
641 641
         HTTP/1.1 200 OK
642 642
         Content-Type: application/octet-stream
643 643
 
644
-        {{ STREAM }}
644
+        {{ TAR STREAM }}
645 645
 
646 646
     Status Codes:
647 647
 
... ...
@@ -1007,7 +1007,7 @@ Build an image from Dockerfile via stdin
1007 1007
 
1008 1008
         POST /build HTTP/1.1
1009 1009
 
1010
-        {{ STREAM }}
1010
+        {{ TAR STREAM }}
1011 1011
 
1012 1012
     **Example response**:
1013 1013
 
... ...
@@ -362,7 +362,7 @@ Export the contents of container `id`
362 362
         HTTP/1.1 200 OK
363 363
         Content-Type: application/octet-stream
364 364
 
365
-        {{ STREAM }}
365
+        {{ TAR STREAM }}
366 366
 
367 367
     Status Codes:
368 368
 
... ...
@@ -645,7 +645,7 @@ Copy files or folders of container `id`
645 645
         HTTP/1.1 200 OK
646 646
         Content-Type: application/octet-stream
647 647
 
648
-        {{ STREAM }}
648
+        {{ TAR STREAM }}
649 649
 
650 650
     Status Codes:
651 651
 
... ...
@@ -1010,7 +1010,7 @@ Build an image from Dockerfile using a POST body.
1010 1010
 
1011 1011
         POST /build HTTP/1.1
1012 1012
 
1013
-        {{ STREAM }}
1013
+        {{ TAR STREAM }}
1014 1014
 
1015 1015
     **Example response**:
1016 1016