Minimal postgres image based on alpine linux and the official postgres image (init script).
docker run -d hegand/postgres
docker run -d -e POSTGRES_PASSWORD=secretpass hegand/postgres
docker run -d -e POSTGRES_PASSWORD=secretpass -v /local/dir:/var/lib/postgresql/data hegand/postgres
Set the postgres password. Recommended.
Set the postgres user. Default: postgres.
Set the pgdata directory. Default: /var/lib/postgresql/data.
Set the default postgres db. If not set POSTGRES_USER will be used as a name.
Set inintdb arguments.
Set listen_addresses, default is localhost.
More info about the configs: offical postgres image
Content type
Image
Digest
Size
14.4 MB
Last updated
over 9 years ago
docker pull hegand/postgres