amd64 and armv7)12, latest11NOTE: Creates initial user (postgres) with password (2345).
NOTE: Creates initial database (postgres).
NOTE: Publishes the database on (5432) of the localhost interface (127.0.0.1).
NOTE: Override database user with (--env PGUSER=appuser).
NOTE: Override database password with (--env PGPASSWORD=apppass).
NOTE: Override database name with (--env PGDATABASE=appdb).
docker run -d --name postgres \
--publish 127.0.0.1:5432:5432 \
andahme/postgres
docker exec -it postgres psql
Content type
Image
Digest
sha256:af4ad663b…
Size
96.2 MB
Last updated
9 months ago
docker pull andahme/postgres