Download the 9.4.0 source, compile it, and install into /usr/local/pgsql/bin. The default mount point for the database is /var/local/pgsql/data. This doesn't start the database, only prepares the environment (including a postgres user and group).
- tacodata/pythondev - basic environemt
- 5000 (inherited from tacodata/pythondev)
- 5432 (postgres connection port)
- /var/local/pgsql/data - mount point for database, if omitted then the built in mount is used.
docker run -p 5432:5432 -it --rm tacodata/postgresdev /bin/bash
You will need to start postgres as well.