This is a postgres database image where few customization is available
199
by default it doesn't allow any user to connect to database, so once volume is created --> please update pg_hba.conf for it and restart your container.
docker run -d -p 5432:5353 -e "DBPORT=5353" -v pg_data:/postgres/Database --name pgdbC1 pritamchk98/postgres:v16.0
DBPORT=<Your Port No> #default is 5432
MAX_CONN=<Value> # default 100
for build image of postgres with different version please clone the below repo and build image with given command where only postgres version has to be passed as arg
docker build --build-arg="PGVERSION=16.0" -t pritamchk98/postgres:v16.0 -f postgres_anyVersion.Dockerfile .
here it is 16.0
Content type
Image
Digest
sha256:9687777f2…
Size
133.9 MB
Last updated
over 1 year ago
docker pull pritamchk98/postgres:v15.10