title: Docker unable importing cache manifest
body: <p>I have Dicker images, that were pulled from a private repo:</p>
  
  <pre><code>docker pull xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/image/name:base
  base: Pulling from image/name
  Digest: sha256:3ac2e726336b9048a4bdcc2188bcca0d30e282892f78169939ae42f76c13bd57
  Status: Downloaded newer image for xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/image/name:base
  </code></pre>
  
  <p>Then build image using cache:</p>
  
  <pre><code>docker build --cache-from xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/image/name:base:base -t xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/image/name:base -t simage/name:base -f Dockerfile.base .
  </code></pre>
  
  <p>Getting caching error:</p>
  
  <pre><code>importing cache manifest from xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.c...
         digest: sha256:7d93b70e81596668b75abedddf217ef3a7dfc0fc4b43141caad899a350105ca3
           name: "importing cache manifest from xxxxxxxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/image/name:base"
        started: 2020-02-18 11:11:49.478586089 +0000 UTC
      completed: 2020-02-18 11:11:49.706587921 +0000 UTC
       duration: 228.001832ms
          error: "invalid build cache from {MediaType:application/vnd.docker.distribution.manifest.v2+json Digest:sha256:3ac2e726336b9048a4bdcc2188bcca0d30e282892f78169939ae42f76c13bd57 Size:3665 URLs:[] Annotations:map[] Platform:&lt;nil&gt;}"
  
  error on cache query: invalid build cache from {MediaType:application/vnd.docker.distribution.manifest.v2+json Digest:sha256:3ac2e726336b9048a4bdcc2188bcca0d30e282892f78169939ae42f76c13bd57 Size:3665 URLs:[] Annotations:map[] Platform:&lt;nil&gt;}
  </code></pre>
  
  <p>Any ideas on how can I debug this problem?</p>