# My postgres isn't starting with my docker container

**URL:** <https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421>\
**Category:** Development\
**Created:** [March 29, 2022, 7:44pm UTC](https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421 "2022-03-29T19:44:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![natasha\_selvidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natasha_selvidge/32/235894_2.png) [@natasha\_selvidge](https://meta.discourse.org/u/natasha_selvidge)\
**Post date:** [March 29, 2022, 7:44pm UTC](https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421/1 "2022-03-29T19:44:59Z")

</div>

Caused by:  
PG::ConnectionBad: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory  
Is the server running locally and accepting connections on that socket?

 ![Screen Shot 2022-03-29 at 12.41.47 PM](https://global.discourse-cdn.com/meta/original/3X/1/5/1582caf015210929007469dbe0e3184641e1d822.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/my-postgres-isnt-starting-with-my-docker-container/222421)._
