-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
dns stops working after a while #779
Comments
I have the same issue but it only seems to happen wen using |
Hi, I don't know if this helps, but have you tried using another DNS server? You can set one using |
If I do a dns query with nslookup or dig from inside a container and set say cloudflare's dns server Inside containers:
Which is the ip addr of the eth0 interface inside the VM
|
My team is seeing this same issue periodically, using the
Please let me know if there's any diagnostic information that would be helpful for me to share. Thank you! |
It seems it is the docker daemon dns proxy having the issue. Next time it happens I'll just try restarting |
I am also experiencing this issue, and would like to add the reasons which cause the problem, if this could be helpful. It happens to me both after my system goes to sleep and when I switched my network connection, that is from lan to wifi and vice versa. The only thing that helps for me is if I restart colima. |
I imagine this might be a duplicate of |
* build: Lock GitHub runners' OS This was motivated by our macOS jobs failing [2] because colima is missing. It looks like this is because the latest versions of the macOS runner no longer have colima installed by default [1]. colima is now explicitly installed. [1] actions/runner-images#6216 [2] `/Users/runner/work/_temp/f19ffbff-27a9-4fc7-80b6-97791d2de141.sh: line 9: colima: command not found` * build: Lock Colima * build: Move macOS Docker installation to script * build: Move macOS libomp activation to script * build: Use latest Colima The > 0.6.0 releases actually fix the issue we have linked [1][2][3]. [1] abiosoft/colima#577 [2] https://github.com/jesse-c/MLServer/blob/c3acd60995a72141027eff506e4fd330fe824179/hack/install-docker-macos.sh#L18-L20 [3] > Switch to new user-v2 network. Fixes abiosoft/colima#648, abiosoft/colima#603, abiosoft/colima#577, abiosoft/colima#779, abiosoft/colima#137, abiosoft/colima#740.
Description
dns seems to have issues after running the VM for an amount of time. Maybe something to do with suspend/resume Recreating the VM restores DNS:
github.com fails during docker build, inside containers and even if I ssh into the VM.
DNS works fine on my host.
Version
colima version 0.5.5
git commit: 6251dc2
runtime: docker
arch: x86_64
client: v24.0.2
server: v23.0.6
Operating System
Output of
colima status
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/brennan/.colima/default/docker.sock
Reproduction Steps
colima start --cpu 6 --memory 24 --disk 800 --vm-type=vz
Expected behaviour
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: