Forked from Evalle/gist:7b21e0357c137875a03480428a7d6bf6
Created
April 12, 2022 18:54
-
-
Save shahinam2/443241db6eef6efa15bbcfbff2524aa1 to your computer and use it in GitHub Desktop.
Revisions
-
Evgeny Shmarnev created this gist
Oct 20, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ Either via $ docker run --dns 10.0.0.2 busybox nslookup google.com or edit your /etc/docker/daemon.json to have something like: { "dns": ["10.0.0.2", "8.8.8.8"] } then restart docker service $ sudo systemctl docker restart