title: Why is pulling a base image taking extremely long time on azure pipline?
body: <p>I want to build an Windows docker image on azure piplines. Pulling the base image is taking up to 20 minutes. How can i speed up the <code>docker pull</code>?</p>
  <ul>
  <li>I want to use the azure hosted pipline</li>
  <li>I cannot use the cached images on the agent</li>
  </ul>
  <p>Example Script based on Pipline Resources:</p>
  <pre><code>trigger:
  - '*'
  
  resources:
    containers:
      - container: sdk  
        image: mcr.microsoft.com/dotnet/framework/sdk:4.8-20190611-windowsservercore-ltsc2019
      - container: runtime
        image: mcr.microsoft.com/dotnet/framework/runtime:4.8-20190611-windowsservercore-ltsc2019
  
  jobs:
  - job: pullSdk
    pool:
      vmImage: 'windows-2019'
      container: sdk
    
  - job: pullRuntime
    pool:
      vmImage: 'windows-2019'
    container: runtime
  </code></pre>