postgresql13

postgresql13

Official

Docker app from jj9987's Repository

Overview

PostgreSQL 13 is a powerful, open source object-relational database system. Uses official Postgres Docker image @ https://hub.docker.com/_/postgres/

Configuration
/mnt/cache/appdata/postgresql13 This is where Postgres will store it's data. For best performance, keep the files on cache drive.
Port 5432 Default connection port
POSTGRES_PASSWORD Superuser password. REQUIRED TO SET, otherwise connecting outside container will not be possible.
POSTGRES_USER Username for the superuser. Defaults to postgres if not set.
POSTGRES_DB Used to define different name for default database. Defaults to user if not set.

https://github.com/docker-library/postgres

Maintained by: the PostgreSQL Docker Community

This is the Git repo of the Docker "Official Image" for postgres (not to be confused with any official postgres image provided by postgres upstream). See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.

The full image description on Docker Hub is generated/maintained over in the docker-library/docs repository, specifically in the postgres directory.

See a change merged here that doesn't show up on Docker Hub yet?

For more information about the full official images change lifecycle, see the "An image's source changed in Git, now what?" FAQ entry.

For outstanding postgres image PRs, check PRs with the "library/postgres" label on the official-images repository. For the current "source of truth" for postgres, see the library/postgres file in the official-images repository.

Install Postgresql13 on Unraid in a few clicks.

Find Postgresql13 in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Postgresql13 Review the template variables and paths Click Install

Download Statistics

10,869,984,901
Total Downloads
154,823,279
This Month
125,691,825
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
postgres:13
Last Updated2026-06-24
First Seen2021-11-05

Runtime arguments

Network
bridge
Privileged
false

Template configuration

POSTGRES_PASSWORDVariable

Initial superuser password (required)

POSTGRES_USERVariable

Initial superuser name (default: postgres)

POSTGRES_DBVariable

Initial database name (default: postgres)

Database Storage PathPathrw

PostgreSQL data storage location

Target
/var/lib/postgresql/data
Default
/mnt/cache/appdata/postgresql13
PostgreSQL access portPorttcp

PostgreSQL TCP connection port

Target
5432
Default
5432