Mattermost, Inc.

Mattermost-postgres service not starting on docker for mattermost-server

waiting for postgres to listen on 5432
nc: bad address ‘postgres’
sleeping
nc: bad address ‘postgres’
sleeping
nc: bad address ‘postgres’
sleeping
nc: bad address ‘postgres’
sleeping

ERROR: for mattermost-postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:346: starti
ng container process caused “process_linux.go:365: sending config to init process caused “write init-p: broken pipe””:
unknown

ERROR: for postgres Cannot start service postgres: OCI runtime create failed: container_linux.go:346: starting containe
r process caused “process_linux.go:365: sending config to init process caused “write init-p: broken pipe””: unknown
ERROR: Encountered errors while bringing up the project.
make: *** [start-docker] Error 1

Does your issue seem related to https://github.com/mattermost/mattermost-docker/issues/463?

Hello Amy.blais,
Thanks for your reply.
I am following the steps provided on this URL:
[https://developers.mattermost.com/contribute/server/developer-setup/]
in the sequence of steps when I fire command : make run-server then I am getting the issue.
regarding the waiting for postgres to listen on 5432
and at the end it fails with the error message as given in my previous post.

Basically I want to deploy mattermost-webapp on my local machine.
but no success with the sequence of steps provided.