Hey,
I have a container that runs centos image with a few changes and postgresql installed on it.
Whenever I start my container or restart it, the postgresql(12) starts in the following state :
postgresql dead but pid file exists
For example :
[root@my_container_id /]# service postgresql status
postgresql (pid 128) is running...
[root@ my_container_id /]# exit
exit
[root@docker-node]# docker restart my_container_id
my_container_id
[root@ docker-node ]#
[root@ docker-node ]#
[root@ docker-node ]# docker exec -it my_container_id /bin/bash
[root@my_container_id /]# service postgresql status
postgresql dead but pid file exists
It happens since I upgraded my postgresql to version 12.
Does anyone else suffer from the same issue ?