On this page:
PostgreSQL Installation
docker run --name datawarehouse -p 127.0.0.1:5432:5433/tcp -e POSTGRES_PASSWORD=<password> -d postgres
docker exec -ti <container ID> bash
psql -h localhost -p 5432 -U postgres -d postgres
ALTER USER postgres WITH PASSWORD '<password>';
CREATE DATABASE zwe_analytics;