A Dockerfile that produces a Docker Image for PostgreSQL based on EuroLinux 7.7 https://en.euro-linux.com/
The master branch currently hosts PostgreSQL 12
Our images are automatically rebuilt (once a month). Constantly rebuilt images are:
More secure.
Have predictable updates.
The change process is more stable.
The infrastructure/scripts/workflows for ad-hoc fixes (ex. critical security) are in place.
For more information please visit https://en.euro-linux.com/
$ docker pull eurolinux/postgresql
To run the image and bind to host port 5432:
$ docker run -d --name eurolinux7postgres -p 5432:5432 eurolinux/postgresql
The default password is: zaqWSX12
You can be used to define another location and database option, for example:
mkdir /var/lib/pgsql_data # proposed location for the database
# volume for data storage
docker volume create --driver local --name psql_data --opt type=none --opt device=/var/lib/pgsql_data --opt o=uid=root,gid=root --opt o=bind
# run container
docker run -d -p 5432:5432 -v psql_data:/var/lib/pgsql/12/data -e POSTGRES_DBNAME=mydatabase -e POSTGRES_USERNAME=myusername -e POSTGRES_PASSWORD=mysecretpassword eurolinux/postgresql
Content type
Image
Digest
Size
82.2 MB
Last updated
over 5 years ago
docker pull eurolinux/postgresql