Circleci/postgres:9.6 docker image too slow to start

I think this is known issue of a racing containers due to parallel start of containers, and waiting for container to fully start is your responsibility at this point – Prevent race conditions by waiting for services with Dockerize