title: Use buildx build linux/arm64 in docker-compose file
body: <p>I can build my dockerfile separately using following command:</p>
  
  <pre><code>docker buildx build --platform linux/arm64 -t testbuild .
  </code></pre>
  
  <p>now I want to use buildx in docker-compose file, but how, and how to say I want to use the arm64 architecture? This is the structure when I use the normal build.</p>
  
  <pre><code>testbuild:
  build: …/testbuild
  image: testbuild
  </code></pre>
  
  <p>Does anybody know?</p>