Sign inSign up

facundopereztomasek/postgres

By facundopereztomasek

•Updated over 7 years ago

Postgres container with PostGIS extension

Image
0

197

facundopereztomasek/postgres repository overview

⁠Dockerized PostgreSQL v11.2

⁠Warning

WARNING: Next command may cause conflicts if postgres is installed on system!

⁠Run the service

To run this dockerized service and persist databases on system you have to run:

docker run -itd -p 5433:5432 -v /var/lib/postgresql/data:/var/lib/postgresql/data facundopereztomasek/postgres

⁠Connection

Postgres client psql can be installed via apt:

sudo apt-get install postgresql-client

Then you can connect vis psql as next:

psql -hlocalhost -p5433 -Upostgres

Tag summary

Content type

Image

Digest

Size

323.3 MB

Last updated

over 7 years ago

docker pull facundopereztomasek/postgres