mirror of
https://github.com/moby/moby.git
synced 2025-12-06 07:41:18 +03:00
Merge pull request #7929 from SvenDowideit/doc-tar-stream
Sven Dowideit Update export, copy and build API to say 'TAR STREAM' for all versions.
This commit is contained in:
@@ -256,7 +256,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -564,7 +564,7 @@ Insert a file from `url` in the image `name` at `path`
|
|||||||
|
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
@@ -777,7 +777,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -345,7 +345,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -624,7 +624,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1011,7 +1011,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -385,7 +385,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -664,7 +664,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1020,7 +1020,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -390,7 +390,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -710,7 +710,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1078,7 +1078,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -386,7 +386,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -708,7 +708,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1076,7 +1076,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -388,7 +388,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -712,7 +712,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1080,7 +1080,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -388,7 +388,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -712,7 +712,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1080,7 +1080,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -815,7 +815,7 @@ Build an image from Dockerfile
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -864,7 +864,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -323,7 +323,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -546,7 +546,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -909,7 +909,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -543,7 +543,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -921,7 +921,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -650,7 +650,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1018,7 +1018,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -599,7 +599,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -965,7 +965,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -362,7 +362,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -641,7 +641,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1007,7 +1007,7 @@ Build an image from Dockerfile via stdin
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
@@ -362,7 +362,7 @@ Export the contents of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -645,7 +645,7 @@ Copy files or folders of container `id`
|
|||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Content-Type: application/octet-stream
|
Content-Type: application/octet-stream
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
Status Codes:
|
Status Codes:
|
||||||
|
|
||||||
@@ -1010,7 +1010,7 @@ Build an image from Dockerfile using a POST body.
|
|||||||
|
|
||||||
POST /build HTTP/1.1
|
POST /build HTTP/1.1
|
||||||
|
|
||||||
{{ STREAM }}
|
{{ TAR STREAM }}
|
||||||
|
|
||||||
**Example response**:
|
**Example response**:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user