Docker / Images, Dockerfiles & Build Reliability
Compare a local image's platform with the Docker daemon
A correct repository name can still refer to a locally built artifact for another platform. Inspect image metadata directly.
Environment and inputs: Docker Engine · Compose v2 and Buildx where specified; Linux containers unless noted. Verify daemon context, installed feature support and authorized host or Swarm manager access first.
Start with this check
Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.
docker image inspect --format '{{.Os}}/{{.Architecture}}' app:release
docker info --format '{{.OSType}}/{{.Architecture}}'
What the results mean
The values describe reported image and daemon platforms. Emulation support, variants and embedded binaries can require additional verification.
Fix the cause and check again
Use a tested compatible release artifact or supported multi-platform build, then validate startup on the intended runtime host.
Before changing production
Do not force platform flags without confirming actual binary compatibility and operational support.