title: how to run amd64 docker images on arm64 host platform
body: <p>I have an m1 mac and I am trying to run a amd64 based docker image on my arm64 based host platform. However, when I try to do so (with docker run) I get the following error:</p>
  <pre><code>WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested. 
  </code></pre>
  <p>When I try adding the tag <code>--platform linux/amd64</code> the error message doesn't appear, but I can't seem to go into the relevant shell and <code>docker ps -a</code> shows that the container is immediately exited upon starting. Would anyone know how I can run this exact image on my machine given the circumstances/how to make the <code>--platform</code> tag work?</p>