Postgres 9.4 (with postgis)
876
Most up to date readme can be found here
docker build -t lonelyplanet/postgres:9.4 .
docker run -p 55432:5432 lonelyplanet/postgres:9.4
Starts a container that binds 5432 on in the container to 55432 on the host system.
postgrespsql -p 55432 -U postgres
If you are using the docker toolbox to run docker (ex. boot2docker):
psql -h $(docker-machine ip default) -p 55432 -U postgres
We have a lonelyplanet organization on Docker Hub. To push the image, run the following:
# tag the image with the date in YYYYMMDD format
docker tag lonelyplanet/postgres:9.4 lonelyplanet/postgres:9.4-YYYYMMDD
# push to Docker Hub
docker push lonelyplanet/postgres:9.4
Content type
Image
Digest
sha256:c939cb64f…
Size
148.7 MB
Last updated
almost 11 years ago
docker pull lonelyplanet/postgres:9.4