https://github.com/juliogonzalez/docker-postgresql
PostgreSQL on Ubuntu 14.04/16.04/18.04 and CentOS6/7 containers (to be used at CI environments)
https://github.com/juliogonzalez/docker-postgresql
centos6 docker-postgresql postgresql ubuntu1404
Last synced: 3 months ago
JSON representation
PostgreSQL on Ubuntu 14.04/16.04/18.04 and CentOS6/7 containers (to be used at CI environments)
- Host: GitHub
- URL: https://github.com/juliogonzalez/docker-postgresql
- Owner: juliogonzalez
- Created: 2016-10-24T22:52:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-06-19T17:44:11.000Z (4 months ago)
- Last Synced: 2025-06-19T18:46:03.812Z (4 months ago)
- Topics: centos6, docker-postgresql, postgresql, ubuntu1404
- Language: Shell
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker PostgreSQL images for Continous Integration
Current distributions available:
* openSUSE Leap 15.6
* Rocky Linux 8
* Ubuntu 24.04Current PostgreSQL versions available:
* 13
* 14
* 15
* 16
* 17
* 18# Building images
Run:
```
./manage_images -h
```# Running the images
Tu run, for example PostgreSQL 15 under Rocky Linux 8:
```
docker run -t --name test -e "DB_NAME=mydbname" -e "DB_PASS=mydbpassword" juliogonzalez/rockylinux8-postgresql15
```Use *-e "DB_NAME=mydbname"* if you want to create a database when the container is created
Use *-e "DB_PASS=mydbpassword"* if you want an specific password for the superuser *postgresql*, 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*