3 ms·
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
by saila 5y ago
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.
- saila 5y agoCorrection: 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