Skip to content

Add platform directive for postgis image#51

Open
jpmckinney wants to merge 1 commit intodevfrom
docker-compose-platform-fix
Open

Add platform directive for postgis image#51
jpmckinney wants to merge 1 commit intodevfrom
docker-compose-platform-fix

Conversation

@jpmckinney
Copy link
Copy Markdown
Collaborator

@jpmckinney jpmckinney commented Apr 13, 2026

The postgis/postgis image only publishes linux/amd64 builds. Without an explicit platform override, Docker on ARM hosts (e.g. Apple Silicon, ARM Linux, Windows on ARM) fails, e.g.:

no matching manifest for linux/arm64/v8 in the manifest list entries: no match for platform in manifest: not found

With this change, on ARM hosts, Docker will use QEMU emulation for the amd64 image – which can affect performance, but that is the only way this image will run on those platforms.

This change has no effect on amd64 hosts, since the architecture matches.

The postgis/postgis image only publishes amd64 builds, so Docker
on e.g. Apple Silicon Macs fails without an explicit platform override.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant