title: Error -- > exec: "/bin/sh": stat /bin/sh: no such file or directory: unknown.; when I convert an ISO image to tarball and docker import it
body: <p>I am trying to create a container from the ISO image, trying following commands on ubuntu.</p>
  <ol>
  <li>
  <pre><code>curl -SLO https://download.fedoraproject.org/pub/fedora/linux/releases/35/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-35-1.2.iso
  </code></pre>
  </li>
  <li>
  <pre><code>sudo guestfish --ro -a Fedora-Workstation-Live-x86_64-35-1.2.iso -m /dev/sda1 tar-out / fedora-35.tar
  </code></pre>
  </li>
  <li>
  <pre><code>cat fedora-35.tar | docker import - fedora35:v1
  </code></pre>
  </li>
  <li>
  <pre><code>docker run 016ffc836ada /bin/sh
  docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: &quot;/bin/sh&quot;: stat /bin/sh: no such file or directory: unknown.
  ERRO[0001] error waiting for container: context canceled 
  </code></pre>
  </li>
  <li>For some reason the image inspect gives the json metadata null
  <pre><code> &quot;Container&quot;: &quot;&quot;,
       &quot;ContainerConfig&quot;: {
           &quot;Hostname&quot;: &quot;&quot;,
           &quot;Domainname&quot;: &quot;&quot;,
           &quot;User&quot;: &quot;&quot;,
           &quot;AttachStdin&quot;: false,
           &quot;AttachStdout&quot;: false,
           &quot;AttachStderr&quot;: false,
           &quot;Tty&quot;: false,
           &quot;OpenStdin&quot;: false,
           &quot;StdinOnce&quot;: false,
           &quot;Env&quot;: null,
           &quot;Cmd&quot;: null,
           &quot;Image&quot;: &quot;&quot;,
           &quot;Volumes&quot;: null,
           &quot;WorkingDir&quot;: &quot;&quot;,
           &quot;Entrypoint&quot;: null,
           &quot;OnBuild&quot;: null,
           &quot;Labels&quot;: null
       },
       &quot;DockerVersion&quot;: &quot;20.10.7&quot;,
       &quot;Author&quot;: &quot;&quot;,
       &quot;Config&quot;: {
           &quot;Hostname&quot;: &quot;&quot;,
           &quot;Domainname&quot;: &quot;&quot;,
           &quot;User&quot;: &quot;&quot;,
           &quot;AttachStdin&quot;: false,
           &quot;AttachStdout&quot;: false,
           &quot;AttachStderr&quot;: false,
           &quot;Tty&quot;: false,
           &quot;OpenStdin&quot;: false,
           &quot;StdinOnce&quot;: false,
           &quot;Env&quot;: null,
           &quot;Cmd&quot;: null,
           &quot;Image&quot;: &quot;&quot;,
           &quot;Volumes&quot;: null,
           &quot;WorkingDir&quot;: &quot;&quot;,
           &quot;Entrypoint&quot;: null,
           &quot;OnBuild&quot;: null,
           &quot;Labels&quot;: null
  </code></pre>
  </li>
  </ol>
  <p>I have seen other similar posts but those did not help. Not sure how to fix it. Could you please advise?
  Thanks,</p>