Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Luis-Palacios/8654b127ca2d61e8fa4332a9eb7493c9 to your computer and use it in GitHub Desktop.
Save Luis-Palacios/8654b127ca2d61e8fa4332a9eb7493c9 to your computer and use it in GitHub Desktop.
Docker-postgres
docker run --name local-postgresql -p 5432:5432 -e POSTGRES_PASSWORD=somePassword -d postgres
psql -h localhost -p 5432 dbName -U dbUser -f dumo.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment