8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 314e219 commit e866af2Copy full SHA for e866af2
examples/templates/docker-devcontainer/main.tf
@@ -105,8 +105,9 @@ resource "coder_agent" "main" {
105
sudo apt-get update -y
106
sudo apt-get install -y dnsmasq
107
108
- echo "resolv-file=/etc/resolv.conf" | sudo tee /etc/dnsmasq.conf
+ echo "no-hosts" | sudo tee /etc/dnsmasq.conf
109
echo "address=/host.docker.internal/$dns_ip" | sudo tee -a /etc/dnsmasq.conf
110
+ echo "resolv-file=/etc/resolv.conf" | sudo tee -a /etc/dnsmasq.conf
111
echo "no-dhcp-interface=" | sudo tee -a /etc/dnsmasq.conf
112
echo "bind-interfaces" | sudo tee -a /etc/dnsmasq.conf
113
echo "listen-address=127.0.0.1,$dns_ip" | sudo tee -a /etc/dnsmasq.conf
0 commit comments