Obtaining host IP address when in docker #6115
-
Hello, I'm very new to Talos, so I'm not sure if this is documented somewhere, but I have been having trouble figuring it out. I am running the local docker quickstart via I want to connect to this database from inside the Deployment Pod. My setup works with Any help with this would be appreciated! Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Talos doesn't do anything different in terms of Docker setup. I believe the address you're looking for is the Docker bridge address, so it should be Another way to see this address is with |
Beta Was this translation helpful? Give feedback.
-
@smira Thank you for the reply! I wanted to try some things before I responded.
When I try to inspect the
Do you know why this would be happening? Now, I was able to get things working by using the gateway of docker's
I connected the two talos containers to the
I am using macOS, and you did say things could be more tricky there. I also plan to get this working on Windows. |
Beta Was this translation helpful? Give feedback.
Talos doesn't do anything different in terms of Docker setup.
I believe the address you're looking for is the Docker bridge address, so it should be
10.5.0.1
with the default options oftalosctl cluster create
.Another way to see this address is with
docker network inspect talos-default
.