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

minikube ip is not pingable #18747

Open
jlim0930 opened this issue Apr 24, 2024 · 0 comments
Open

minikube ip is not pingable #18747

jlim0930 opened this issue Apr 24, 2024 · 0 comments

Comments

@jlim0930
Copy link

What Happened?

macOS 14.4
docker 23.0.5
minikube version v1.33.0

After starting minikube with minikube start --driver docker the environment is stood up however I am unable to ping the minikube ip

~ ping `minikube ip`
PING 192.168.49.2 (192.168.49.2): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
^C
--- 192.168.49.2 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

In my docker settings I have
image

I tried to also start minikube with minikube start --driver docker --static-ip 192.168.65.49 and now getting

Preparing Kubernetes v1.30.0 on Docker 26.0.1 ...- E0424 16:16:57.878670   96617 start.go:131] Unable to get host IP: resolve dns to ip: docker exec -t minikube dig +short host.docker.internal: exit status 9
stdout:
;; communications error to 192.168.65.1#53: timed out
;; communications error to 192.168.65.1#53: timed out
;; communications error to 192.168.65.1#53: timed out
;; no servers could be reached

and once minikube is started it shows

~ minikube ip
192.168.65.49
~ ping `minikube ip`
PING 192.168.65.49 (192.168.65.49): 56 data bytes
Request timeout for icmp_seq 0
^C
--- 192.168.65.49 ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss

On my linux host I am able to ping the minikube ip without issues

Attach the log file

with --static-ip 192.168.65.49
log.txt

without --static-ip 192.168.65.49
log2.txt

Operating System

macOS (Default)

Driver

Docker

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