title: Docker hub cache with Harbor
body: <p>I need to cache docker images while pulling from the docker hub in my Harbor &quot;Proxy Cache &quot; project. Therefore I have configured a project with an option Proxy Cache. The registries section also added a new registry endpoint with a provider as &quot;Docker Hub.&quot; I added the following configuration to the docker daemon.</p>
  <pre><code>cat /etc/docker/daemon.json 
  {
   &quot;registry-mirrors&quot;: [&quot;https://registry.harbor.com&quot;]
  }
  </code></pre>
  <p>While I'm pulling images from the docker hub it is not caching on my harbor project. Need help to resolve this issue and how my request fulfills with the harbor.</p>
  <pre><code>example
  my cache project name = proxy
  i need to pull httpd:latest
  
  </code></pre>
  <p><a href="https://goharbor.io/docs/2.1.0/administration/configure-proxy-cache/#how-harbor-proxy-cache-works" rel="noreferrer">This</a>
  method not working also</p>