Sign inSign up

uday1kiran/postgres

By uday1kiran

Updated over 4 years ago

Postgres for windows

Image
0

1.0K

uday1kiran/postgres repository overview

username: postgres password: password

To create container: docker run -d -p 5432:5432 uday1kiran/postgres:9.6.10

Once the container is running, the Hostname or IP will be the machine where docker hosted. you can vary the left port 5432 to your number based on availability, then it will be redirected inside to 5432 only.

You can create a database using below command: c:\Program Files\PostgreSQL\13\bin> createdb -h localhost -p 5432 -U postgres testdb

Or using docker command: docker exec -it <container_id_or_name> createdb -h localhost -p 5432 -U postgres testdb1

Tag summary

Content type

Image

Digest

Size

3.2 GB

Last updated

over 4 years ago

docker pull uday1kiran/postgres:14.1.1