docker build -t duruu/postgresql .
docker run -d -p 5432:5432 duruu/postgresql
docker logs <CONTAINER_ID>
If you want to use a preset password instead of a random generated one, you can
set the environment variable POSTGRES_PASS to your specific password when running the container:
docker run -d -p 5432:5432 -e POSTGRES_PASS="mypass" --name postgresql duruu/postgresql
Content type
Image
Digest
sha256:5272208ef…
Size
76.7 MB
Last updated
almost 11 years ago
docker pull duruu/postgresql