Browse code

Correct API docs for /images/create

Signed-off-by: Daniel Nephin <dnephin@docker.com>

Daniel Nephin authored on 2015/10/16 04:50:13
Showing 1 changed files
... ...
@@ -1465,12 +1465,15 @@ a base64-encoded AuthConfig object.
1465 1465
 
1466 1466
 Query Parameters:
1467 1467
 
1468
--   **fromImage** – Name of the image to pull.
1468
+-   **fromImage** – Name of the image to pull. The name may include a tag or
1469
+        digest. This parameter may only be used when pulling an image.
1469 1470
 -   **fromSrc** – Source to import.  The value may be a URL from which the image
1470 1471
         can be retrieved or `-` to read the image from the request body.
1471
--   **repo** – Repository name.
1472
--   **tag** – Tag.
1473
--   **registry** – The registry to pull from.
1472
+        This parameter may only be used when importing an image.
1473
+-   **repo** – Repository name given to an image when it is imported.
1474
+        The repo may include a tag. This parameter may only be used when importing
1475
+        an image.
1476
+-   **tag** – Tag or digest.
1474 1477
 
1475 1478
     Request Headers:
1476 1479