colima icon indicating copy to clipboard operation
colima copied to clipboard

Start colima with host networking

Open mirza-ali-ctct opened this issue 3 years ago • 5 comments

Is it possible to start colima VM with host networking enabled? With minikube minikube ip we used to reach LoadBalancer services.

mirza-ali-ctct avatar Apr 05 '22 15:04 mirza-ali-ctct

This will be part of the next release, which is imminent.

abiosoft avatar Apr 05 '22 15:04 abiosoft

I want to run a docker container with a host network, the docker container could access the localhost address, but it will access the lima VM rather than my mac.

weijiany avatar Apr 20 '22 08:04 weijiany

@weijiany you can always reach the host mac at 192.168.5.2 or host.docker.internal.

abiosoft avatar Apr 20 '22 08:04 abiosoft

Does --network-address enable the host networking? What exactly should I expect when I use it?

What I'm trying to figure out is the equivalent of minikube ip in colima.

egze avatar Jul 06 '22 19:07 egze

Does --network-address enable the host networking? What exactly should I expect when I use it?

What I'm trying to figure out is the equivalent of minikube ip in colima.

@egze it provides a reachable IP address to the VM. Which you can verify by running colima list.

abiosoft avatar Jul 06 '22 20:07 abiosoft