Skip to content

Postgres

zelenko edited this page Nov 24, 2020 · 2 revisions

Installing Docker container

  • docker pull postgres
  • mkdir -p $HOME/docker/volumes/postgres
  • docker run --rm --name pg-docker -e POSTGRES_PASSWORD=******* -e TZ="America/New_York" -e PGTZ="America/New_York" -d -p 5432:5432 -v $HOME/docker/volumes/postgres/data:/var/lib/postgresql/data postgres

Clone this wiki locally