Public Repository

Last pushed: 3 days ago
Short Description
CentOS 6 images with PostgreSQL official packages
Full Description

What is this?

Just a set of CentOS 6 images with the official PostgreSQL packages that I am using at some Continuous Integration environments.

Supported tags:

9.6
9.5
9.4
9.3
9.2

How to launch:

docker run -t --name test -e "DB_NAME=mydbname" -e "DB_PASS=mydbpassword" juliogonzalez/centos6-postgresql:9.2

DB_NAME and DB_PASS are optional.

If DB_NAME is present, a database will be created when the container is launched.

If DB_PASSWORD is present, the specified password will be applied to the postgres user. Otherwise a random password will be created.

By default the container will expose port TCP 5432, and you will be able to access with the user postgresql

You can also specify volumes so /var/lib/pgsql is external to the container.

Docker Pull Command
Owner
juliogonzalez

Comments (0)