|
@@ -853,11 +853,20 @@ Push the image `name` on the registry
|
|
|
{"error":"Invalid..."}
|
|
|
...
|
|
|
|
|
|
+ If you wish to push an image on to a private registry, that image must already have been tagged
|
|
|
+ into a repository which references that registry host name and port. This repository name should
|
|
|
+ then be used in the URL. This mirrors the flow of the CLI.
|
|
|
+
|
|
|
+ **Example request**:
|
|
|
+
|
|
|
+ POST /images/registry.acme.com:5000/test/push HTTP/1.1
|
|
|
+
|
|
|
+
|
|
|
Query Parameters:
|
|
|
|
|
|
|
|
|
|
|
|
- - **registry** – the registry you wan to push, optional
|
|
|
+ - **tag** – the tag to associate with the image on the registry, optional
|
|
|
|
|
|
Request Headers:
|
|
|
|