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

Issues with DNS in Docker w/ this module? #26

Open
devzero opened this issue Dec 1, 2021 · 0 comments
Open

Issues with DNS in Docker w/ this module? #26

devzero opened this issue Dec 1, 2021 · 0 comments

Comments

@devzero
Copy link

devzero commented Dec 1, 2021

I have an odd issue. Using this container with --net=host works fine, but when I try to launch the plexinc/pms-docker image, it fails to start properly because no DNS is resolved in the container and the software breaks hard. It appears to have /etc/resolv.conf pointing to 127.0.0.11, which is Docker's built-in forward to it's DNS server, and if I watch the system logs for it, it appears to fail at setting up some iptables rules for forwarding that (see attached system logs excerpt). It may be of note that my host system uses nftables (nixos 21.11). If I pop into a shell in the container, I can't resolve any hostnames at all. It's not clear why this container would have this problem. It appears that it may be caused by my nixos config, that may be trying to lock down the systemd service running the container. I see a related issue with similar looking error. Is there a way to disable trying to use Docker's DNS forwarding and just directly configure DNS over the bridge?

Thanks

journald.logs.docker.issue.txt

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

1 participant