No PostgreSQL clusters exist; see "man pg_createcluster" ... (warning). · Issue #178 · docker-library/postgres

I am using Docker for Mac (Version 1.12.0-rc4-beta20 (build: 10404)) After creating a container, I couldn't connect to Postgres. Following is what I did to reproduce the issue, and get it working. ...