vmware / vmware/photon-docker-image
Unable to setup postgressql in Photon OS
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 51
- Forks
- 20
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the reported Dockerfile and reviewing the tdnf install postgresql -y step in the Photon OS container. Inspect the installed package for the PostgreSQL service files and pg_hba.conf; done means reproducing the setup and documenting what is required for PostgreSQL to run with its configuration available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, postgresql, shell
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100