title: Build linux/arm64 docker image on linux/amd64 host
body: <p>I am running a Jenkins <code>Alpine Linux AMD64</code> docker image, which I'm building myself and want to add <code>linux/arm64</code> docker buildx support to it, in order to generate multi-platform images and I do not know how it supposed to work.</p>
  <p>When I check the supported platform I get:</p>
  <pre><code>+ docker buildx ls
  NAME/NODE DRIVER/ENDPOINT STATUS  PLATFORMS
  default * docker                  
    default default         running linux/amd64, linux/386
  </code></pre>
  <p>since I'm within an AMD64 image. I read that I need to install qemu for this, but I have no clue how buildx will recognize that.</p>
  <p>The documentation is relatively bare on this at: <a href="https://docs.docker.com/buildx/working-with-buildx/" rel="nofollow noreferrer">https://docs.docker.com/buildx/working-with-buildx/</a></p>
  <p>Anyone an idea how to add linux/arm64 build capability within a linux/amd64 image?</p>
  <p>The only solution I see right now is to build an image on an actual arm64 system.</p>