IMD SolutionComputing LibraryShop main store

Troubleshooting

What Docker cannot do for an ARM edge gateway image

Edge computing and IIoT Published 7 min read

Short answer

A Docker container shares the edge gateway's kernel and never translates instruction sets, so an ARM gateway runs a vendor image only when the image's manifest lists a build for the gateway's platform. Gate the deployment on platform match, documented host dependencies and the container's proven network path; emulation is not a supported substitute.

On this page
  1. Why a running Docker engine is not the test
  2. The platform gate: what the manifest decides
  3. The host gate: dependencies the image cannot carry
  4. The network gate: the container's own path
  5. The three-gate check, in order
  6. The decision for each outcome
  7. Questions asked

Docker runs on the gateway, the image pulls cleanly, and the remote-access function still does nothing — that is the expected outcome when a vendor container image meets an ARM-class edge gateway it was never built for. A container packages an application and its userspace, but it shares the gateway's kernel and cannot translate instruction sets, so an image built for x86-64 has no way to execute on an ARM host. Treat the deployment as three gates. The image's platform manifest must list a build for the gateway's architecture, the host must supply every dependency the vendor documents, and the container's network path must be proven from inside the container. Fail a gate and the fix belongs to that gate, not to Docker.

Why a running Docker engine is not the test #

A healthy Docker engine on the gateway proves the engine. It says nothing about the image, because a container carries no kernel: it reuses the gateway's, and it runs binaries compiled for one instruction set. A multi-architecture image is published as a manifest list — one entry per supported platform — and the client compares the platform it detects on the host against that list, fetching the entry that matches exactly. A single-platform image has one entry, and the match either exists or it does not.

Two consequences follow. A successful download proves repository access, not that the payload can execute. And the vendor's support promise covers documented host platforms per release, so "Docker is supported" is not the same sentence as "this image is supported on this gateway."

The platform gate: what the manifest decides #

Before pulling anything, read two things: the platform the gateway reports, and the platforms the vendor's image documents for the exact release you plan to run. The registry page for a multi-architecture tag lists the manifest's entries, and a pull without a platform flag succeeds only when one entry equals the detected host platform. Two documented failures tell you where you stand. no matching manifest for linux/arm64 exists in the manifest list entries means the list carries no build equal to the gateway's detected platform. The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested names the mismatch directly: the build the registry served, the platform the host detected, and the fact that no platform was requested explicitly. For the same failure family on other small ARM boards, the fix for the linux/arm/v8 manifest error on a Raspberry Pi 4 walks the identical check.

The --platform flag requests a specific entry from the list. It selects which build to download; it does not translate instructions, so requesting a foreign build on the gateway changes the error you get, not the outcome.

Worked example, on an illustrative gateway: the operating system reports a 64-bit ARM processor, Docker detects the platform as linux/arm64, and the vendor image publishes one tag whose manifest list carries exactly one entry, linux/amd64. Compare the lists: entries the registry offers — 1; entries equal to the gateway's detected platform — 0; a pull succeeds only on an equal entry, so the match count is 0. A plain docker pull therefore stops with no matching manifest for linux/arm64 exists in the manifest list entries. Adding --platform linux/amd64 downloads that single build, and startup then fails, because the image's entry program is compiled for x86-64 while the gateway's kernel executes ARM instructions. Decision: the image cannot run on this gateway; the gate closes only with a vendor build for linux/arm64 or a different host.

The host gate: dependencies the image cannot carry #

Because the container reuses the gateway's kernel, every kernel-level requirement lands on the host: the kernel version and options the vendor documents, any required module, a synced clock for certificate checks, and the persistent-state location. The image cannot bring these with it, and a container's writable layer is discarded when the container is replaced, so vendor state — configuration, device identity, licensing — belongs on a host path bound into the container. Decide that path before the first start, not after the first failure. If the state lives on a network share, mounting NAS shares for Docker containers is its own setup task on the host, and a share behaves differently from a local disk.

Startup errors that name a missing piece are read the same way as a Docker shared library error on an edge PC: take the first error in the logs, name the missing dependency, add exactly that. Never answer an unexplained startup failure by running the container with blanket privileges; determine which capability or path is absent and grant what the vendor's deployment documentation specifies for it.

The network gate: the container's own path #

A remote-access image runs in its own network namespace: unless the vendor documents otherwise, the container has its own interfaces and routes, and the host's working uplink proves nothing about the container's. Commission the path in the vendor's documented network mode, then test both directions. Outbound first: from inside the container, resolve a required service name and open a connection — a container that cannot get out shows the same pattern as Node-RED MQTT stuck on connecting inside a Docker container.

Inbound second: reach the published port from a second machine on the plant side. Then reboot the gateway and repeat both tests, because published ports that fail after an edge PC reboot are a known Docker-on-edge failure mode, and a remote-access link that does not survive a restart is not commissioned. Record which direction passed on which interface and through which published port.

The three-gate check, in order #

  1. Record the platform the gateway reports and the platforms the vendor image documents for the exact release you plan to run.
  2. Pull the vendor tag on the gateway with no platform flag. Pass: a clean download of a build equal to the gateway's detected platform. Either documented platform failure from the list above means zero matching entries — stop there and fix the platform, not Docker.
  3. Map every documented host dependency to the installed OS: kernel features, modules, the persistent-state mount, a trusted time source. Pass: each item present and named in a deployment record.
  4. Start the container in the vendor's documented network mode. From inside it, resolve and reach a required service; from a second machine, reach the published port.
  5. Reboot the gateway and repeat step 4. Pass: both directions still work.
  6. Only after a pass on steps 2 through 5, run the vendor's activation and provisioning procedure and confirm the link through its documented status.

The decision for each outcome #

  • Manifest lists a build for the gateway's platform, the host dependencies check out, and both network directions pass after a reboot: deploy, and keep the release and the passing checks in the deployment record.
  • No ARM build anywhere in the manifest list: do not emulate. Ask the vendor for a build for the gateway's platform, or run the image on hardware whose platform it documents — a fanless industrial mini PC takes the same gateway role on a platform the image executes natively.
  • ARM build exists but a host dependency fails: add exactly that dependency as documented. The platform gate is already closed, so the image itself is sound.
  • Network checks fail while the host uplink works: correct the container's documented network mode or the published ports; the host is not the fault.
  • If you also control the host and the vendor ships a native package for it, weigh running Ignition Edge Panel natively or in Docker on an industrial PC — a native install removes the container network layer from the proof entirely.

One boundary matters more than the rest: a remote-access gateway is a security function, and an image that runs only under instruction emulation is an unsupported execution environment for it. Until a supported platform exists, leave the function off rather than run the plant's access path on an arrangement the vendor does not stand behind.

Questions asked

Does QEMU emulation let the amd64 image run on the ARM gateway?

Mechanically it can: user-mode emulation executes programs built for another instruction set in software, so a container that has no native build may still start. It is not a supported deployment for a remote-access function — performance depends on the emulator, restarts re-enter the emulated path, and the vendor has not validated it. Use it on a bench to inspect behaviour, never as the plant's access path.

How do you stop a working image from breaking at the next update?

A multi-architecture tag can lose its ARM entry when the vendor republishes it, so a pull that worked on the previous release can later fail with the no matching manifest for linux/arm64 error. Record the digest of the image that passed the three gates, pin the deployment to that digest, and re-run the checks deliberately on each planned upgrade.

The pull succeeded but the container exits immediately — what does that mean?

A clean pull proves only that the registry offered a build for the gateway's platform; startup then depends on the host. Read the container logs for the first error rather than the exit status alone: a kernel feature the host lacks, a persistent path that is not mounted, or a first-start configuration step the vendor requires. Match the error to the vendor's documented host requirements before changing anything.

Does an image labelled ARM run on every ARM gateway?

No. ARM names a processor family, not one platform: 32-bit and 64-bit builds are separate manifest entries, and a 64-bit build can still need host kernel features the gateway lacks. The entry must equal the platform the gateway reports — for example linux/arm64 — not merely carry the word ARM. Confirm the combination against the vendor's supported-host list for that release.

Is host networking a good default for a remote-access container?

Only when the vendor documents it. Host networking removes the namespace boundary and port publishing, so the container shares every gateway interface and the host's routing table directly, which widens its reach into the plant network. Use the documented network mode, publish only the documented ports, and prove reachability from a second machine before you trust the link.

Keep reading

  • Troubleshooting

    Edge gateway shows offline: check the 3.5.16 requirement

    An edge gateway that flipped from green to offline most likely sits on 3.5.15 while the Automation Server lists Edge Gateway 3.5.16.0 or higher as the runtime system requirement. Read the installed version first, then remove and re-add the gateway, replace it through the service tool, update to 3.5.16.0 or higher, and escalate through a CODESYS Store support question if it stays red.

    Edge computing and IIoT

  • How-to

    Install licensed software on an industrial edge PC

    Install vendor-licensed container software on an industrial edge PC by passing four gates in order: a purchased license with the installer obtained only from the vendor, a verified Docker engine, an installer build that matches the CPU, and a proven open-internet path before the pull. Vendor guidance budgets the install command at 30 minutes to 1 hour; at a 5 Mbit/s link a 2 GB payload alone needs about 53 of them.

    Edge computing and IIoT

  • Selection guide

    Choosing an on-premises edge device update platform

    Make offline intent storage mandatory: the platform must hold a deployment for a device that is offline or has never connected and apply it on reconnection. Then choose by update scope - a container platform such as the open-source Balena stack for application services, an image or partition updater such as Mender or SWUpdate when the kernel or base OS changes - and prove the choice with a disconnect-reconnect test.

    Edge computing and IIoT