Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolv.conf set to 8.8.8.8 #23

Closed
bryanlarsen opened this issue Nov 23, 2014 · 1 comment
Closed

resolv.conf set to 8.8.8.8 #23

bryanlarsen opened this issue Nov 23, 2014 · 1 comment

Comments

@bryanlarsen
Copy link

This is a common problem when running docker on ubuntu: http://askubuntu.com/questions/475764/docker-io-dns-doesnt-work-its-trying-to-use-8-8-8-8

I fixed it with:

- lineinfile: dest=/etc/default/docker regexp="DOCKER_OPTS=" line='DOCKER_OPTS="--dns {{ ansible_docker0.ipv4.address }}"'
  notify: restart docker

- meta: flush_handlers

- pause: seconds=1
@angstwad
Copy link
Owner

angstwad commented Dec 6, 2014

Added in e1380bf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants