Skip to content

Say How to Build the Local Test Image on an arm64 Host #354

Closed

Description

@ptr727

The OPERATIONS.md runbook "Build and Run the Image Locally" opens on a single-platform build that loads an image for the compose stack:

docker buildx build --load --platform linux/amd64 --tag esphome:testing --file ./Docker/Dockerfile ./Docker

On an arm64 Linux Docker Engine host with no QEMU registered, that build fails at the first RUN with an exec format error, since nothing in the runbook installs an amd64 emulator before it. The multi-platform section below it covers emulation, but the single-platform build comes first and is the one the compose stack needs.

A reader on such a host can build natively instead by substituting --platform linux/arm64. The runbook says neither.

Done means the runbook either names the native-platform substitution for a non-amd64 host or points the single-platform build at the emulation step.

Activity

  1. added
    documentation
    pre-existing
    on Oct 22, 2026
  2. added a commit that references this issue on Oct 23, 2026
    dad4712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationpre-existing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions