-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
enable minikube mount for kic drivers (docker, podman) #6628
Comments
on linux this works docker@p2:~$ /sbin/ip route|awk '/default/ { print $3 }' also docker inspect --format '{{(index .IPAM.Config 0).Gateway}}' $(docker network ls --filter name=bridge --format {{.ID}}) |
dig +short host.docker.internal |
update for mount on Mac I get the IP using ( 'dig +short host.docker.internal') it keeps telling me to debug and confirm the problem is not connectivity I started a UFS server manually with this code
then inside container I tried the command that minikube is running which is
(I get the IP using 'dig +short host.docker.internal') and exact same error, however I am able to curl the ip from inside the container and on the server I see the response :
same as dns
however the mount command insider the cntainer special device doesn't exists and on the server side I see no evidance that it receives the request at all
any idea @afbjorklund |
one difference I could think of with VM is,
|
Seem to be missing a colon |
the command is same command is used in VM. this PR only changed what IP would return.... where would the : be ? |
@medyagh - To me, the error message indicates a parse error. Try running the embedded shell script commands to see which is failing:
|
My suggestion would be to use $SUDO_UID and $SUDO_GID instead of those shell lookups. |
Looks like a red herring. Those subcommands work just fine, but for whatever reason, the mount command is still failing. Is it a privilege thing, or a quirk of the Docker VM? I don't know. That said, I can confirm that the Docker container can exchange packets to the 9p filesystem just fine:
The error message seems to be unrelated to connectivity. straces shows:
It's still unclear to me why it's looking for the argument to contain local device rather than passing it to the 9p driver as an IP. |
Seen in dmesg:
Woops, |
No description provided.
The text was updated successfully, but these errors were encountered: