Open cotej opened 2 years ago
After some tinkering I've discovered that starting colima with --network-driver slirp
instead of using the default gvproxy driver allows this to work. Though I'm not sure of all the implications that this carries so I'll keep this issue open for the time being.
@cotej there are no real implications, you can stick to slirp
if it works better.
Hi @abiosoft, How this can be fixed in 2024 ? :)
@maver1ck what issue specifically are you having?
Containers in Colima are not using Kubernetes DNS when I am connected with Telepresence. This is working seamlessly in Docker desktop.
I found workaround by adding this section to Docker compose file.
# this is needed only for colima
dns:
- 127.0.0.53
- 10.0.0.10
Colima started with:
colima start --vm-type vz --cpu 4 --memory 8 --network-address
Description
Not really sure if bug or a feature request is more suitable here, but my scenario is:
Here's an example:
This works on both Docker Desktop + Rancher Desktop. I suspect there may some reasonable workaround I could do to configure the DNS for my colima VM but I'm just not sure what that might be.
Version
Colima Version:
Lima Version:
Qemu Version:
Operating System
Reproduction Steps
See example in description above.
Expected behaviour
The colima VM and its containers should be able to resolve the host and talk to the services running inside the cluster that is connected by telepresence.
Additional context
No response