-
Notifications
You must be signed in to change notification settings - Fork 651
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
Multipass docker containers dns resolution not works on macos #3146
Comments
Hi @zopar! I cannot reproduce this issue on my M1 Macbook.
Do you happen to be running the Apple Firewall or another firewall? If so, then you probably need to add an exception to allow the traffic. |
Ok found the problem is due to: Just some explanation on why the ubuntu docker seems to work How to bypass the problem: Solution 1 Other solutions Solution 2
Solution 3
Solution 4 Proposal kubernetes/minikube#3036 (comment) Anyway I think this issue can be closed. |
Hi @zopar! Thank for posting the detailed solutions for the issue you were running in to. Regarding vpnkit, we did look into that in the past, but it's pretty specific to Hyperkit and that is now deprecated and will be removed in the next release. I do know the Docker folks are using vpnkit with Qemu, but I'm not sure how they are incorporating it since the sources are not available. That said, considering all of the issues we encounter with respect to macOS's virtualized network support, we may still consider it in the future. I'll close this issue now and thanks again! |
Describe the bug
Containers dns resolution does not works
To Reproduce
How, and what happened?
multipass lauch docker
docker run busybox nslookup google.com
nslookup: read: connection refused
Expected behavior
container dns works correctly
Additional info
OS: macOS 13.4.1
multipass ubuntu version 22.04 LTS
multipass version 1.12.0+mac with qemu
Additional context
If I use --dns option in the docker run passing dns like 8.8.8.8, resolution works correctly
If I use --network host option also works
It seems a problem about bridged network at this point
The text was updated successfully, but these errors were encountered: