News for hackers. Stuff that matters.
Re:Apple M1 Max Geekbench Score by saila on Thursday October 21, 2021 @09:10PM (#28952706)
The postgres image (postgis/postgis:12-3.1-alpine) is linux/amd64.

I see now that the official postgres images have other arch options compared to the postgis images, which are arm64 only. I wonder if that could make a difference...

And now I see that Docker Desktop actually shows a warning about potentially poor performance when using an amd64 image: "Image may have poor performance, or fail, if run via emulation."

This is good news, since I'd much rather use Docker to run postgres in dev.

Re:Apple M1 Max Geekbench Score by saila on Wednesday October 27, 2021 @05:23PM (#29019314)
Correction: in paragraph 2, "arm64" should be "amd64"

Update: I switched to an official postgres image and it works great. I just had to create a derived image that installs PostGIS like so:

    FROM postgres:13-bullseye
    RUN apt-get -y install postgresql-13-postgis-3