title: Docker pull from local repository Fails
body: <p>Probably a very basic question but I can't seem to get my head around this.</p>
  <p>So, I have a docker file, which I have built and it builds successfully and I can also run it and do stuffs, on my local PC, so, that's great.</p>
  <p>However, I can't seem to pull the same image (the one that I created from my Dockerfile), if I just do docker pull for the same image. As I understand, if Docker finds the image locally, it should be able to pull it</p>
  <p>So, here it is (a little snippet of my Dockerfile)</p>
  <pre><code>FROM companyartifactoryurl/ubuntu:someversion
  ENV HTTP_PROXY=proxy:port
  ENV HTTPS_PROXY=proxy:port
  WORKDIR /code
  .....other stuffs....
  COPY ./requirements.txt /code/requirements.txt
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
  COPY ./model /code/model
  CMD something
  </code></pre>
  <p>I build it and get the image and it is tagged</p>
  <pre><code>testaks
  </code></pre>
  <p>When I do</p>
  <pre><code>docker images
  </code></pre>
  <p>I can see</p>
  <pre><code>REPOSITORY |  TAG     | IMAGE ID | CREATED | SIZE
  testaks      latest      SomeID     ADate     A Size
  </code></pre>
  <p>However, when I do</p>
  <pre><code>docker pull testaks
  </code></pre>
  <p>I get an error</p>
  <pre><code>Error response from daemon: Get &quot;https://registry-1.docker.io/v2/&quot;: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  </code></pre>
  <p>So, it is able to go fetch ubuntu (from by dockerfile definition) but can't fetch an image from my local repo? I tried giving it other tags , apart from the default of latest, but it doesn't work.</p>
  <p>What am I missing?</p>
  <p>I am just trying to do some POCs and learn, so not yet ready to push to an artifactory (my image), but just try out the local one. Also, the proxy is an org one.</p>