Sign inSign up

starefossen/pgrouting

By starefossen

•Updated over 7 years ago

Docker Image for pgRouting with PostGIS and official Postgres Docker Image

Image
18

50K+

starefossen/pgrouting repository overview

⁠Docker pgRouting

The starefossen/pgrouting Image provides a Docker Image with Postgres, PostGIS, and pgRouting installed. This image is based on the postgres⁠ and mdillon/postgis⁠ Docker Images.

Demo using pgRouting on Docker

The following Docker Image tags are supported.

TagPostgresPostGISpgRouting
latest (Dockerfile)⁠latestlatestlatest
9-2-2 (Dockerfile)⁠9.62.x2.x
9.4-2.1-2.1 (Dockerfile)⁠9.4.x2.1.x2.1.x
9.4-2.1-2.0 (Dockerfile)⁠9.4.x2.1.x2.0.x
9.6-2.3-2.3 (Dockerfile)⁠9.6.x2.3.x2.3.x
10.1-2.4-2.5 (Dockerfile)⁠10.1.x2.4.x2.5.x

⁠What is pgRouting

pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.

⁠How to use this image

In order to run a basic container capable of serving a pgRouting-enabled database, start a container as follows:

$ docker run --name some-pgrouting \
  -e POSTGRES_PASSWORD=mysecretpassword \
  -d starefossen/pgrouting

For more detailed instructions about how to start and control your Postgres container, see the documentation for the postgres image here⁠.

Once you have started a database container, you can then connect to the database as follows:

$ docker run -it --link some-pgrouting:postgres --rm postgres \
  sh -c 'exec psql -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U postgres'

⁠Image Variants

The starefossen/pgrouting images come in two flavors, each designed for a specific use case.

starefossen/pgrouting:latest

This is the bleeding edge latest version of the image. You should use this under active development, but not for stable production usage.

starefossen/pgrouting:<version>

This is the locked down version of the image. If comes in two variants, major versions major+minor for Postgres, PostGIS, and pgRouting as the version tag.

⁠License

This Docker image is licensed under the MIT License⁠.

Software contained in this image is licensed under the following:

⁠Supported Docker versions

This image is officially supported on Docker version 1.8.1.

Support for older versions (down to 1.0) is provided on a best-effort basis.

⁠User Feedback

⁠Documentation
⁠Issues

If you have any problems with or questions about this image, please contact us through a GitHub issue⁠.

⁠Contributing

You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

Before you start to code, we recommend discussing your plans through a GitHub issue⁠, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.

Tag summary

Content type

Image

Digest

sha256:4b52094d3…

Size

215.9 MB

Last updated

over 7 years ago

docker pull starefossen/pgrouting