Skip to content
Discussion options

You must be logged in to vote

I was seeing similar errors every time after reboot. It couldn't resolve host names, even though DNS on my machine was working fine. I was able to solve it by adding DNS servers to the docker configuration in /etc/docker/daemon.json

{
  "dns": ["8.8.8.8", "1.1.1.1"]
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@coreyog
Comment options

Comment options

You must be logged in to vote
1 reply
@coreyog
Comment options

Answer selected by coreyog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants