<p>when building images you should specify --platform option. example:</p>
<pre><code>docker buildx build --platform linux/arm64,linux/amd64 -t youdockerimage:latest .
</code></pre>

CC BY-SA 4.0
2024-10-09T16:44:55.373Z
2024-10-09T16:44:55.373Z
nata Chikhinashvili
<p>My organization uses Jenkins on Kubernetes (deployed with Helm; Pod based agents).</p>
<p>With emphasis on <strong>pod agent configuration</strong> - how can one build multiarchitecture Docker images (like with QEMU &amp; Docker buildx) in Kubernetes?</p>
<p>If somebody could even share some complete reference/example, I'd appreciate that!</p>

<docker><kubernetes><jenkins><multiarch><buildx>
How to multiarch Docker build on Kubernetes Pod agents?
maze
# How to multiarch Docker build on Kubernetes Pod agents?

(Asked by: username_0 on 2024-10-09)

My organization uses Jenkins on Kubernetes (deployed with Helm; Pod based agents).

With emphasis on **pod agent configuration** - how can one build multiarchitecture Docker images (like with QEMU & Docker buildx) in Kubernetes?

If somebody could even share some complete reference/example, I'd appreciate that!

**Tags:** docker, kubernetes, jenkins, multiarch, buildx


---

## 1 answers

### Answer by username_1 on 2024-10-09. Score: -1

when building images you should specify --platform option. example:
docker buildx build --platform linux/arm64,linux/amd64 -t youdockerimage:latest .


---

