1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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)
This commit is contained in:
Sven Dowideit 2014-09-08 11:51:57 +10:00
parent b9e889c309
commit 77fa306d63
15 changed files with 42 additions and 42 deletions

View file

@ -256,7 +256,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -564,7 +564,7 @@ Insert a file from `url` in the image `name` at `path`
HTTP/1.1 200 OK
{{ STREAM }}
{{ TAR STREAM }}
Query Parameters:
@ -777,7 +777,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -345,7 +345,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -624,7 +624,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1011,7 +1011,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -385,7 +385,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -664,7 +664,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1020,7 +1020,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -390,7 +390,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -710,7 +710,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1078,7 +1078,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -386,7 +386,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -708,7 +708,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1076,7 +1076,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -388,7 +388,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1080,7 +1080,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -388,7 +388,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -712,7 +712,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1080,7 +1080,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -268,7 +268,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -815,7 +815,7 @@ Build an image from Dockerfile
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -306,7 +306,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -864,7 +864,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -323,7 +323,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -546,7 +546,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -909,7 +909,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -320,7 +320,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -543,7 +543,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -921,7 +921,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -370,7 +370,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -650,7 +650,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1018,7 +1018,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -326,7 +326,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -599,7 +599,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -965,7 +965,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -362,7 +362,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -641,7 +641,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1007,7 +1007,7 @@ Build an image from Dockerfile via stdin
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**:

View file

@ -362,7 +362,7 @@ Export the contents of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -645,7 +645,7 @@ Copy files or folders of container `id`
HTTP/1.1 200 OK
Content-Type: application/octet-stream
{{ STREAM }}
{{ TAR STREAM }}
Status Codes:
@ -1010,7 +1010,7 @@ Build an image from Dockerfile using a POST body.
POST /build HTTP/1.1
{{ STREAM }}
{{ TAR STREAM }}
**Example response**: