title: Docker on Mac M1 gives: "The requested image's platform (linux/amd64) does not match the detected host platform"
body: <p>I want to run a docker container for <code>Ganache</code> on my MacBook M1, but get the following error:</p>
  <pre><code>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>After this line nothing else will happen anymore and the whole process is stuck, although the qemu-system-aarch64 is running on 100% CPU according to Activity Monitor until I press <kbd>CTRL</kbd>+<kbd>C</kbd>.</p>
  <p>My docker-files come from <a href="https://github.com/unlock-protocol/unlock/blob/master/docker/docker-compose.override.yml" rel="noreferrer">this repository</a>. After running into the same issues there I tried to isolate the root cause and came up with the smallest setup that will run into the same error.</p>
  <p>This is the output of <code>docker-compose up --build</code>:</p>
  <pre><code>Building ganache
  Sending build context to Docker daemon  196.6kB
  Step 1/17 : FROM trufflesuite/ganache-cli:v6.9.1
   ---&gt; 40b011a5f8e5
  Step 2/17 : LABEL Unlock &lt;ops@unlock-protocol.com&gt;
   ---&gt; Using cache
   ---&gt; aad8a72dac4e
  Step 3/17 : RUN apk add --no-cache git openssh bash
   ---&gt; Using cache
   ---&gt; 4ca6312438bd
  Step 4/17 : RUN apk add --no-cache   python   python-dev   py-pip   build-base   &amp;&amp; pip install virtualenv
   ---&gt; Using cache
   ---&gt; 0be290f541ed
  Step 5/17 : RUN npm install -g npm@6.4.1
   ---&gt; Using cache
   ---&gt; d906d229a768
  Step 6/17 : RUN npm install -g yarn
   ---&gt; [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
   ---&gt; Running in 991c1d804fdf
  </code></pre>
  <p><strong>docker-compose.yml:</strong></p>
  <pre><code>version: '3.2'
  services:
    ganache:
      restart: always
      build:
        context: ./development
        dockerfile: ganache.dockerfile
      env_file: ../.env.dev.local
      ports:
        - 8545:8545
  
    ganache-standup:
      image: ganache-standup
      build:
        context: ./development
        dockerfile: ganache.dockerfile
      env_file: ../.env.dev.local
      entrypoint: ['node', '/standup/prepare-ganache-for-unlock.js']
      depends_on:
        - ganache
  </code></pre>
  <p><strong>ganache.dockerfile:</strong></p>
  <p>The ganache.dockerfile can be found <a href="https://github.com/unlock-protocol/unlock/blob/master/docker/development/ganache.dockerfile" rel="noreferrer">here</a>.</p>
  <p>Running the whole project on an older iMac with Intel-processor works fine.</p>