<p>If you wish to push an image on to a private registry, that image must already have a tag which references the registry. For example, <code>registry.example.com/myimage:latest</code>.</p>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="parameters">Parameters<aclass="hash-link"aria-label="Direct link to Parameters"title="Direct link to Parameters"href="/api/namespaces/containerEngine/functions/pushImage#parameters"></a></h2>
<p>the id of the engine managing the image, obtained from the result of <ahref="/api/namespaces/containerEngine/functions/listImages">containerEngine.listImages</a></p>
<p>the id of the image on this engine, obtained from the result of <ahref="/api/namespaces/containerEngine/functions/listImages">containerEngine.listImages</a></p>
<p>• <strong>callback</strong></p>
<p>the function called when new logs are emitted or new events happen on the stream. The value of <code>name</code> can be either <code>data</code>(and <code>data</code> contains the logs), or <code>end</code> indicating the end of the stream, or <code>first-message</code> indicating no data has been emitted yet on the stream.</p>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="returns">Returns<aclass="hash-link"aria-label="Direct link to Returns"title="Direct link to Returns"href="/api/namespaces/containerEngine/functions/pushImage#returns"></a></h2>
<h2class="anchor anchorWithStickyNavbar_JmGV"id="source">Source<aclass="hash-link"aria-label="Direct link to Source"title="Direct link to Source"href="/api/namespaces/containerEngine/functions/pushImage#source"></a></h2>