Rocky Linux 8 images with PostgreSQL official packages
10K+
Just a set of Rocky Linux 8 images with the official PostgreSQL packages that I am using at some Continuous Integration environments.
While as of July 2026 this was still not EoL, it was not scheduled to support PostgreSQL19, so it's now not upgraded anymore.
None
docker run -t --name test -e "DB_NAME=mydbname" -e "DB_PASS=mydbpassword" juliogonzalez/rockylinux8-postgresql:11
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 /etc/postgresql, /var/log/postgresq and /var/lib/postgresql are external to the container.
Content type
Image
Digest
sha256:9bc5a8e19…
Size
822.5 MB
Last updated
3 months ago
docker pull juliogonzalez/rockylinux8-postgresql:18