photon-docker-image icon indicating copy to clipboard operation
photon-docker-image copied to clipboard

Unable to setup postgressql in Photon OS

Open Apoorva412 opened this issue 4 years ago • 1 comments

I have created a dockerfile with parent image as Photon OS. I created an image from it, and then a container from the image. In the dockerfile, I am installing postgres as tdnf install postgresql -y which is working fine.

But the issue is that in the container, the postgres service is not running. Also, there is no 'postresql' folder under /etc and on searching I'm not able to find "pg_hba.conf" as well.

Is there anything else I need to perform in order to setup postgressql on Photon OS?

Apoorva412 avatar Feb 01 '21 06:02 Apoorva412