Open wkozaczuk opened 5 years ago
Any update on this?
Same here. I found the privileged helper service which help docker exposes "please bind this port" API, it's /Library/PrivilegedHelperTools/com.docker.vmnetd
.
But I can't find any info about its protocol to comunicate with dockerd.
Now I turn into looking for tunnel solutions like docker mac net connect
With a tunnel to physically connect from Host to Docker VM (by default, it's 10.33.33.2), I can port forward with a reverse proxy.
In my situation, I'm working with Docker Swarm which is poorly supported by Docker Desktop For Mac, but the ports Swarm Cluster published can only accessed by Docker VM, not Host (Mac OS).
I could not find any e-mailing list or another forum I could post this question to so I am creating an issue which I will close eventually.
So I am trying to make inbound connect to the OSv unikernel guest running on hyperkit over vpnkit and it does not seem to work or I simply do not know which host IP address to use.
I am using Docker Desktop community version 2.0.0.4. By default I have 2 processes related to Docker/hyperkit/vpnkit running like so:
When I start OSv on hyperkit executing to virtio (instead of vpnkit), the OSv starts and grabs 192.168.64.16 (using dhcp) like so:
and I can make traffic over port 8080 from the host, more specifically the guest responds on HTTP at
http://192.168.64.16:8080/
The extra hyperkit process looks like this:
Now when I use vpnkit instead I can see guest grabbing an IP but I cannot connect to it in any way and it does not work.
And I see this extra process:
I have tried obvious 192.168.65.24 as the guest reports grabbing, I have tried host IP 192.168.65.2 and couple of other ones? I event have tried to add
,guest_forwards=8080
to vsock path and also does not work with any IPs.What am I doing wrong? Please advise.
Waldek