Sign inSign up

juliogonzalez/ubuntu20.04-postgresql

By juliogonzalez

Updated over 1 year ago

Ubuntu 20.04 images with PostgreSQL official package

Image
0

5.3K

juliogonzalez/ubuntu20.04-postgresql repository overview

What is this?

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

This is an EoL distribution and not maintained anymore. It's here only for reference.

Supported tags:

  • None

Unsupported and NOT maintained tags:

  • All (Distribution is EoL)

How to launch:

docker run -t --name test -e "DB_NAME=mydbname" -e "DB_PASS=mydbpassword" juliogonzalez/ubuntu20.04-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.

Tag summary

Content type

Image

Digest

sha256:c5a29a955

Size

325.6 MB

Last updated

over 1 year ago

docker pull juliogonzalez/ubuntu20.04-postgresql:17