Browse Source

Merge pull request #9486 from ClusterHQ/9484-fromSrc-api-docs

Document fromSrc more clearly
James Turnbull 10 years ago
parent
commit
e15ffa45a6

+ 2 - 1
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

+ 2 - 1
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