postgres

Connect as `postgres` user to Docker container running postgres

For MacOSX usage, primarily:

Ensure you have the correct Docker environment:

$> eval "$(docker-machine env cloudviewerbox)"

... and find the running container:

$> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
44809d71d591 sameersbn/postgresql:9.4-18 "/sbin/entrypoint.sh" 2 weeks ago Up 2 hours 0.0.0.0:5432->5432/tcp slctest_postgres_1