What problem will this feature address?
Currently, Dokploy builds Docker images only for linux/amd64 architecture. When building on an x86 machine and deploying to an ARM VM (e.g., Raspberry Pi, ARM64 server), containers fail with exec format error because the binaries are incompatible with the ARM architecture.
Describe the solution you'd like
Add native multi-architecture Docker build support using docker buildx with the following options:
-
UI option in Application settings:
- Add a "Build Architecture" field in Advanced settings
- Options:
amd64 only, arm64 only, multi-arch (amd64 + arm64)
- When multi-arch is selected, Dokploy runs:
docker buildx create --name multiarch --use
docker buildx build --platform linux/amd64,linux/arm64 -t <image> --push .
-
Option to use a buildx builder with native ARM support:
- Allow specifying a custom buildx builder name
- Support for external build servers with native ARM hardware (no QEMU)
-
Registry compatibility:
- Ensure the build push creates a multi-arch manifest (Docker Hub/GHCR compatible)
- Dokploy deployment automatically pulls the correct architecture variant based on the target host
-
Performance optimization:
- Detect if the build server has native ARM support and skip QEMU when possible
- Provide build caching for multi-arch builds to reduce rebuild time
Describe alternatives you've considered
-
Build externally with buildx and deploy via Dokploy:
- Manually build with
docker buildx on x86 (with QEMU) or CI with native ARM
- Push multi-arch image to registry
- Configure Dokploy to use the pre-built image (not building from source)
- Problem: Requires external CI/build pipeline, loses Dokploy's native build workflow
-
Use a dedicated ARM build server:
- Set up a separate ARM VPS as Dokploy build server
- Configure Dokploy to use that server for builds
- Problem: Still requires manual setup, extra cost, and doesn't integrate multi-arch in UI
Will you send a PR to implement it?
No
What problem will this feature address?
Currently, Dokploy builds Docker images only for
linux/amd64architecture. When building on an x86 machine and deploying to an ARM VM (e.g., Raspberry Pi, ARM64 server), containers fail withexec format errorbecause the binaries are incompatible with the ARM architecture.Describe the solution you'd like
Add native multi-architecture Docker build support using
docker buildxwith the following options:UI option in Application settings:
amd64 only,arm64 only,multi-arch (amd64 + arm64)Option to use a buildx builder with native ARM support:
Registry compatibility:
Performance optimization:
Describe alternatives you've considered
Build externally with buildx and deploy via Dokploy:
docker buildxon x86 (with QEMU) or CI with native ARMUse a dedicated ARM build server:
Will you send a PR to implement it?
No