This image is intended to be used for servers. Unlike the official build this image does not make all database trust.
You will need to docker exec into the container to set up your databases and users etc.
docker exec -it postgresql psql postgres
Connect as a regular user:
psql --host=localhost --user=myuser mydatabase
Source code: https://github.com/YorkshireKev/docker-postgres