Skip to content

Instantly share code, notes, and snippets.

@mterrel
Created October 14, 2019 22:42
Show Gist options
  • Save mterrel/915d81f4bc39b8120b1f61355c81239a to your computer and use it in GitHub Desktop.
Save mterrel/915d81f4bc39b8120b1f61355c81239a to your computer and use it in GitHub Desktop.
medium - Fixing DNS timeouts in Docker - 2
$ DNS_IP=$(dns_cache)
$ docker run --dns ${DNS_IP} --rm busybox ping -c1 adaptjs.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment