Skip to content

Unable to use Docker when DNSMasq is running #220

@UrGuardian4ngel

Description

@UrGuardian4ngel

Bug Reports

  • dlite version in use (run dlite --version):

dlite version 2.0.0-beta9

  • expected behavior:

Be able to pull docker images.

  • actual behavior:

Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.64.1:53: read udp 192.168.64.38:50471->192.168.64.1:53: read: connection refused

  • steps to reproduce

While dnsmasq is active, run dlite start.
When you execute e.g. docker pull nginx, you will get the error message above.


I know this issue came up briefly in #135, but that thread was closed...
Is there a known solution for this, so that I can use dnsmasq together with dlite?

Because, dlite seems to work a lot faster (and easier) than most other solutions I already tried on macOS... ;-)

Things I already tried

When I stop dnsmasq and restart dlite, the problem goes away.
Docker starts pulling in the images as it should. Great!

And it seems like it keeps working when I restart dnsmasq, after I started dlite?

Already tried updating my dnsmasq.conf for

  • binding to ip 127.0.0.1
  • restricting it to en0 (Wi-Fi) and en1 (ethernet)
  • excluding en5 (an interface which only seems to exists when dlite is running)
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions