Public Repository

Last pushed: 2 months ago
Short Description
postgres9.6:alpine
Full Description

Postgres9.6:alpine

Data Volumes

  • All data resides within /var/lib/postgresql/data volume. Mount this to your localhost/volumedrivervol etc

Networking Ports

  • Better to use EXPOSE parameter. Uses port 5432

Environmental Variables

  • POSTGRES_PASSWORD
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_DB

Docker Run Condition

  • docker run -d --name pgsql --restart=always -p 5432:5432 -v localvol:/var/lib/postgresql/data -e POSTGRES_USER=demo -e POSTGRES_PASSWORD=demo -e POSTGRES_DB=demodb hareemca123/postgres9.6:alpine
Docker Pull Command
Owner
hareemca123

Comments (0)