CentOS implementation of Postgresql with PostGIS and TimescaleDB
304
This image was created to implement Postgresql on a CentOS build with the extensions PostGIS and TimescaleDB installed. PGPool2 will also be installed to provide cloning and cluster capabilities.
To run the container use the command:
docker run -it --cap-add=SYS_ADMIN -e "container=docker" --name postgres -p 5432:5432 -v ~/docker/db:/var/lib/postgresql/data -v /sys/fs/cgroup:/sys/fs/cgroup sambradfield430/centos_pg_ts:v1.1 /usr/sbin/init
This will ensure that the systemctl commands can be ran and contained inside the container. CAP-ADD: provides the roles you want the container to have. ex: system admin
Content type
Image
Digest
Size
3.5 GB
Last updated
about 7 years ago
docker pull sambradfield430/centos_pg_ts:v1.8