Docker Hub image pablof7z/nsecbunkerd:latest is arm64-only — fails on amd64 hosts #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Pulling and running
pablof7z/nsecbunkerd:lateston an amd64 host (Linux x86_64) prints a warning at pull time:…then at start the container immediately crash-loops:
The arm64 binary inside the image can't execute on an x86_64 kernel; Docker doesn't auto-emulate without explicit qemu setup, and Compose's
restart: on-failurekeeps looping the failure forever.Root cause
The published image on Docker Hub at
docker.io/pablof7z/nsecbunkerd:latesthas only anlinux/arm64/v8manifest entry, nolinux/amd64. Build/publish pipeline is single-arch.Workaround
Build locally from source (which is what we ended up doing in our deploy). After applying patches #1, #2, #3,
docker buildproduces a host-native image.Real fix
Set up multi-arch publishing for the Docker Hub image:
(Adapt to whatever CI Pablo's using.)
Most home-server / dev users are on x86_64; arm64-only image essentially limits deployments to Raspberry-Pi-style hosts unless they build from source.
Acceptance
git.atitlan.io/aiolabs/nsecbunkerd:<tag>via Forgejo Actions or similar.Cross-refs
aiolabs/lnbits#18phase 2 spike.npm run prisma:migratestep in start.js #31