Browse Source

Talk about URL support and the real meaning of `-` in the latest `fromSrc` API documentation.

Signed-off-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Jean-Paul Calderone 10 years ago
parent
commit
826f809d09
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/sources/reference/api/docker_remote_api_v1.16.md

+ 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