photon-docker-image
photon-docker-image copied to clipboard
Unable to setup postgressql in Photon OS
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?