This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- Commands for disabling Systemd Resolved | |
sudo systemctl disable systemd-resolved | |
sudo systemctl stop systemd-resolved | |
sudo rm /etc/resolv.conf | |
---------- Host resolv.conf (create a new /etc/resolv.conf on your host) | |
nameserver 127.0.0.1 | |
nameserver 8.8.8.8 | |
nameserver 8.8.4.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- Commands for disabling Systemd Resolved | |
sudo systemctl disable systemd-resolved | |
sudo systemctl stop systemd-resolved | |
sudo rm /etc/resolv.conf | |
---------- Host resolv.conf (create a new /etc/resolv.conf on your host) | |
nameserver 127.0.0.1 | |
nameserver 192.168.1.1 | |
---------- Container resolv.conf (save it into a file next to docker-compose.yaml) |