How can I pull a Docker image from a private Docker Hub repo remotely?
<p>I have several images in Docker Hub private repositories, and I need to pull these on remote machines using the Docker remote Rest API. Is there a way of authenticating remotely?</p>

<p>These are the calls I'd like to make remotely:</p>

<pre><code>docker login
docker pull myrepo/myimage
</code></pre>