title: Getting image from DOCKER API using blob
body: <p>I'm trying to download a image using POSTMAN, so I'm trying to execute the following steps:</p>
  <p>1- Get the manifest information:</p>
  <pre><code>GET https://registry-1.docker.io/v2/library/ubuntu/manifests/latest
  </code></pre>
  <p>So I get the following response:</p>
  <pre><code>   {
     &quot;schemaVersion&quot;: 1,
     &quot;name&quot;: &quot;library/ubuntu&quot;,
     &quot;tag&quot;: &quot;latest&quot;,
     &quot;architecture&quot;: &quot;amd64&quot;,
     &quot;fsLayers&quot;: [
        {
           &quot;blobSum&quot;: &quot;sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4&quot;
        },
        {
           &quot;blobSum&quot;: &quot;sha256:7fc152dfb3a6b5c9a436b49ff6cd72ed7eb5f1fd349128b50ee04c3c5c2355fb&quot;
        },
        {
           &quot;blobSum&quot;: &quot;sha256:ee671aafb583e2321880e275c94d49a49185006730e871435cd851f42d2a775d&quot;
        },
        {
           &quot;blobSum&quot;: &quot;sha256:d83811f270d56d34a208f721f3dbf1b9242d1900ad8981fc7071339681998a31&quot;
        },
        {
           &quot;blobSum&quot;: &quot;sha256:5667fdb72017d1fb364744ca1abf7b6f3bbe9c98c3786f294a461c2866db69ab&quot;
        }
     ],
     &quot;history&quot;: [
        {
           &quot;v1Compatibility&quot;: &quot;&quot;
        },
        {
           &quot;v1Compatibility&quot;: &quot;{\&quot;id\&quot;:\&quot;4b728884276a5a8a34fbbb300b46b18c6b9382cdeb8a85d0520c8d34068e5fb0\&quot;,\&quot;parent\&quot;:\&quot;66c93443725d82003c60a47d21f5484432b5ec76c8bfadd32c8a41edba1f8060\&quot;,\&quot;created\&quot;:\&quot;2019-09-18T23:20:27.334214267Z\&quot;,\&quot;container_config\&quot;:{\&quot;Cmd\&quot;:[\&quot;/bin/sh -c mkdir -p /run/systemd \\u0026\\u0026 echo 'docker' \\u003e /run/systemd/container\&quot;]}}&quot;
        },
        {
           &quot;v1Compatibility&quot;: &quot;&quot;
        },
        {
           &quot;v1Compatibility&quot;: &quot;{\&quot;id\&quot;:\&quot;86feef564c750ab53d7473a1507b6b1109fd2cbc7bfdb244bc5645eec1f3675f\&quot;,\&quot;parent\&quot;:\&quot;53e1edbd56e089206a1ef26dacddf818d2926905e4981d7d98d2a9b017aca0a8\&quot;,\&quot;created\&quot;:\&quot;2019-09-18T23:20:25.907034433Z\&quot;,\&quot;container_config\&quot;:{\&quot;Cmd\&quot;:[\&quot;/bin/sh -c [ -z \\\&quot;$(apt-get indextargets)\\\&quot; ]\&quot;]}}&quot;
        },
        {
           &quot;v1Compatibility&quot;: &quot;{\&quot;id\&quot;:\&quot;53e1edbd56e089206a1ef26dacddf818d2926905e4981d7d98d2a9b017aca0a8\&quot;,\&quot;created\&quot;:\&quot;2019-09-18T23:20:25.001198355Z\&quot;,\&quot;container_config\&quot;:{\&quot;Cmd\&quot;:[\&quot;/bin/sh -c #(nop) ADD file:288ac0434f65264f3c50cf3e2766c5dbf3fa953c89995dd9445063fd565aac81 in / \&quot;]}}&quot;
        }
     ],
     &quot;signatures&quot;: [
        {
           &quot;header&quot;: {
              &quot;jwk&quot;: {
                 &quot;crv&quot;: &quot;P-256&quot;,
                 &quot;kid&quot;: &quot;G3BK:3LIN:YT77:4BNT:KEVY:VX5N:YQEA:ECEW:UBBI:OOB6:7C3W:WACE&quot;,
                 &quot;kty&quot;: &quot;EC&quot;,
                 &quot;x&quot;: &quot;-VsbPz10h4THvkv3wusAf_AgXf5unH39JU47JaT1A80&quot;,
                 &quot;y&quot;: &quot;baBL61yOF1J5hDslfyyiPRrx0GoyU-UqYo10-sekyJM&quot;
              },
              &quot;alg&quot;: &quot;ES256&quot;
           },
           &quot;signature&quot;: &quot;d0kjLJ9Gt_o0vm8xe0WK9b2bHL_bJHAP4yo-kKuZLQce4ztHPuoE6rvrxdTkIF6qId_bZARJZ6tLY3tiHa3aRQ&quot;,
           &quot;protected&quot;: &quot;eyJmb3JtYXRMZW5ndGgiOjQ5MzMsImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAxOS0wOS0yNlQyMDo1NDo1MFoifQ&quot;
        }
     ]
  }
  </code></pre>
  <p>2- Trying to download:</p>
  <pre><code>GET https://registry-1.docker.io/v2/library/ubuntu/blobs/{what I should put here}
  </code></pre>
  <p>Which blob I should put in URL? If I put the first blobSum inside fsLayer I can download the image but:</p>
  <blockquote>
  <p>docker: Error response from daemon: No command specified.</p>
  </blockquote>