On 12/1/24 11:34, Alexander Farber wrote:
Good evening, I am trying to create a Dockerfile for development purposes, which would run Jetty and PostgreSQL. The PostgreSQL related part is below:
When I connect to the docker container via terminal, I am able to connect with "psql words_de" command.
The terminal is in the container host? If so does the host have an instance of Postgres running on it?
But the "psql -h localhost words_de" command fails:
Best regards Alex
-- Adrian Klaver adrian.klaver@xxxxxxxxxxx