Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect Airbyte in Docker container to local postgres db instance

I recently setup an instance of Airbyte on my local machine using a Docker container. I also have a local instance of Postgres running which I would like to use as a data source in Airbyte. It seems like I cannot connect to the local Postgres instance because of the Docker container. Any thoughts on how to establish this connectivity?

like image 463
zadroga Avatar asked Sep 06 '25 00:09

zadroga


1 Answers

I joined the Airbyte Slack channel and was told to use host.docker.internal instead of "localhost" or "127.0.0.1" and it worked.

like image 122
zadroga Avatar answered Sep 07 '25 14:09

zadroga