Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: connection to server on socket (No such file or directory) #432

Open
wpcarro opened this issue Jul 5, 2022 · 0 comments
Open

error: connection to server on socket (No such file or directory) #432

wpcarro opened this issue Jul 5, 2022 · 0 comments

Comments

@wpcarro
Copy link

wpcarro commented Jul 5, 2022

I know why this is happening, but I'm looking for workaround recommendations.

I have psql running inside of a docker container that's accessible on the docker host at localhost:5432. Looks like wal-e is looking for the socket on my host at /run/postgresql/.s.PGSQL.5432, which of course doesn't exist (it does in the container). Would you recommend that I use volumes to expose this socket on my host? Or is there better way to run wal-e on a docker host on a PG instance that's running inside of a container?

I have no trouble connecting with:

$ psql postgres://user:password@localhost:5432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant