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
I can't for the life of me get DNS to work via the default nameserver of 127.0.0.11, overridding it with a dns setting deosnt change the value of the nameserver in /etc/resolv.conf
in .kitchen.yml, but /etc/resolv.conf still has 127.0.0.11 as its only nameserver. If I manually alter /etc/resolv.conf to hit 8.8.8.8 instead, name resolution works.
Version
2.17.0
Environment
docker 4.2.0 on macOS Monterey 12.3.1
Scenario
Be able to hit https://rubygems.org/ or any other site from the contianer via a dns nameserver provided in .kitchen.yml
Definitly something wierd going on with dokken/dokker dns, in order for the dokken container to reach other docker containers i needed to:
run docker network inspect dokken
grab the gateway address
use the gateway adress and the port number of the other containter to reach it, it cant be directly reached by container name, only by 'gateway ip:port'
🗣️ Foreword
I can't for the life of me get DNS to work via the default nameserver of 127.0.0.11, overridding it with a dns setting deosnt change the value of the nameserver in
/etc/resolv.conf
👻 Brief Description
I've tried overriding DNS with
in .kitchen.yml, but /etc/resolv.conf still has
127.0.0.11
as its only nameserver. If I manually alter /etc/resolv.conf to hit 8.8.8.8 instead, name resolution works.Version
2.17.0
Environment
docker 4.2.0 on macOS Monterey 12.3.1
Scenario
Be able to hit https://rubygems.org/ or any other site from the contianer via a dns nameserver provided in .kitchen.yml
Steps to Reproduce
Expected Result
log into container and run
cat /etc/resolv.conf
and see the set nameserver(8.8.8.8 in this example)nameserver 8.8.8.8
Actual Result
only see the default nameserver in /etc/resolv.conf
nameserver 127.0.0.11
➕ Additional context
This is the same as the closed issue: #247
The text was updated successfully, but these errors were encountered: