I\'m trying to use a Docker container to run a PostgreSQL server, and connect with it from my host machine.
My configuration is:
Run the postgre image with the correct Port Mapping using -p <host_port>:<container_port>:
-p <host_port>:<container_port>
docker run --same-options-as-step-one -d -p 5432:5432 postgres:9.1