mirror of
https://github.com/moby/moby.git
synced 2025-12-07 19:42:23 +03:00
Merge pull request #9486 from ClusterHQ/9484-fromSrc-api-docs
Document fromSrc more clearly
This commit is contained in:
@@ -913,7 +913,8 @@ Create an image, either by pulling it from the registry or by importing it
|
|||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **fromImage** – name of the image to pull
|
- **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
|
- **repo** – repository
|
||||||
- **tag** – tag
|
- **tag** – tag
|
||||||
- **registry** – the registry to pull from
|
- **registry** – the registry to pull from
|
||||||
|
|||||||
@@ -861,7 +861,8 @@ Create an image, either by pulling it from the registry or by importing it
|
|||||||
Query Parameters:
|
Query Parameters:
|
||||||
|
|
||||||
- **fromImage** – name of the image to pull
|
- **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
|
- **repo** – repository
|
||||||
- **tag** – tag
|
- **tag** – tag
|
||||||
- **registry** – the registry to pull from
|
- **registry** – the registry to pull from
|
||||||
|
|||||||
Reference in New Issue
Block a user