From 826f809d0959d59d4f478615be4dc9b7db7c46f1 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 3 Dec 2014 17:13:48 -0500 Subject: [PATCH 1/2] Talk about URL support and the real meaning of `-` in the latest `fromSrc` API documentation. Signed-off-by: Jean-Paul Calderone --- docs/sources/reference/api/docker_remote_api_v1.16.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sources/reference/api/docker_remote_api_v1.16.md b/docs/sources/reference/api/docker_remote_api_v1.16.md index ed666fb3f3..9276f628c8 100644 --- a/docs/sources/reference/api/docker_remote_api_v1.16.md +++ b/docs/sources/reference/api/docker_remote_api_v1.16.md @@ -861,7 +861,8 @@ Create an image, either by pulling it from the registry or by importing it Query Parameters: - **fromImage** – name of the image to pull -- **fromSrc** – source to import, - means stdin +- **fromSrc** – source to import. The value may be a URL from which the image + can be retrieved or `-` to read the image from the request body. - **repo** – repository - **tag** – tag - **registry** – the registry to pull from From 0888c1880f836703987313049100bad9ce821584 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 3 Dec 2014 17:14:08 -0500 Subject: [PATCH 2/2] Update the most recent released version of the docs as well. Signed-off-by: Jean-Paul Calderone --- docs/sources/reference/api/docker_remote_api_v1.15.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sources/reference/api/docker_remote_api_v1.15.md b/docs/sources/reference/api/docker_remote_api_v1.15.md index 6aff3607cc..e3b6fad74e 100644 --- a/docs/sources/reference/api/docker_remote_api_v1.15.md +++ b/docs/sources/reference/api/docker_remote_api_v1.15.md @@ -913,7 +913,8 @@ Create an image, either by pulling it from the registry or by importing it Query Parameters: - **fromImage** – name of the image to pull -- **fromSrc** – source to import, - means stdin +- **fromSrc** – source to import. The value may be a URL from which the image + can be retrieved or `-` to read the image from the request body. - **repo** – repository - **tag** – tag - **registry** – the registry to pull from