You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using docker-compose, I am trying to create a DNS container which would resolve the address for a Postgres database in another container. Both of them have their ports forwarded to the host.
I have created an entry in /etc/resolver/testdomain and that is reflected on using scutil --dns
Actual Behavior
Using docker-compose, I am trying to create a DNS container which would resolve the address for a Postgres database in another container. Both of them have their ports forwarded to the host.
I have created an entry in
/etc/resolver/testdomain
and that is reflected on usingscutil --dns
I am trying to access postgres through
psql
.Steps to Reproduce
pg_dns_test
docker-compose.yml
topg_dns_test
dnsmasq.conf
topg_dns_test
sudo vi /etc/resolver/testdomain
having the below contentResult
Request times out and there is no connection to postgres
Expected Behavior
On docker desktop, this setup worked without glitch
Additional Information
Output of
scutil --dns
Changed Volume settings on Rancher based on this issue & solution
Rancher Desktop Version
1.12.3
Rancher Desktop K8s Version
deactivated
Which container engine are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
Sonoma 14.3.1
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
No response
The text was updated successfully, but these errors were encountered: