The geelweb/postgis image is based on the official Docker Postgres image. It provides a Docker container running Postgres with PostGIS installed.
Start the database
docker run --name postgis \
-e POSTGRES_USER=docker \
-e POSTGRES_PASSWORD=secret \
-d geelweb/postgis
Connect with psql
docker run -it --link postgis:server --rm geelweb/postgis \
sh -c 'exec psql -h "$SERVER_PORT_5432_TCP_ADDR" -p "$SERVER_PORT_5432_TCP_PORT" -U docker docker'
12, latest (12/Dockerfile) Run Postgres 12 with PostGIS 2.411 (11/Dockerfile) Run Postgres 11 with PostGIS 2.410.0, 10, latest (10/Dockerfile) Run Postgres 10 with PostGIS 2.49.6, 9 (9.6/Dockerfile) Run Postgres 9.6 with PostGIS 2.39.5 (9.5/Dockerfile) Run Postgres 9.5 with PostGIS 2.29.4 (9.4/Dockerfile) Run Postgres 9.4 with PostGIS 2.19.3 (9.3/Dockerfile) Run Postgres 9.3 with PostGIS 2.1Content type
Image
Digest
sha256:999c54b44…
Size
195.7 MB
Last updated
over 6 years ago
docker pull geelweb/postgis