Open KauzClay opened 2 hours ago
I'm not sure if this is related, but I also noticed that in the docker desktop Images menu, it lists the setup image with a warning: ARM64
.
The image is multi-arch according though, so maybe something is going weird there too?
❯ docker buildx imagetools inspect ghcr.io/chipmk/docker-mac-net-connect/setup
Name: ghcr.io/chipmk/docker-mac-net-connect/setup:latest
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest: sha256:fcb4b57d27170baafdd52448f7a2a976f74e23e4c7bc4d63b0a36e8e51736ad7
Manifests:
Name: ghcr.io/chipmk/docker-mac-net-connect/setup:latest@sha256:a00fbc4ab54abea09aeea017edcbe334c5fb2a26769af6cc3b3f5501640940b4
MediaType: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/amd64
Name: ghcr.io/chipmk/docker-mac-net-connect/setup:latest@sha256:b97b76d837642207600dd346efdd0547127abd3f1603252445cecafb6fd60373
MediaType: application/vnd.docker.distribution.manifest.v2+json
Platform: linux/arm64
Hey @KauzClay thanks for reporting. Does the ARM64
warning provide any further details (eg. it will try to emulate ARM)? Strange indeed that it gives the warning since the image includes amd64 as you pointed out.
You're the first to report this error, so I'm suspicious it could be related to one or a combination of macOS Sonoma + x64 arch (but could also be unrelated). If Docker is trying to emulate ARM for some reason that could potentially cause problems.
hey @gregnr , yes there is more info, hovering over shows:
Image may have poor performance, or fail, if run via emulation
Context
I just installed docker-mac-net-connect with brew, but I'm having issues getting things to work.
I've been trying to follow the usage example, but I end up timing out during the curl:
Logs and Details
I started up with
sudo brew services start chipmk/tap/docker-mac-net-connect
.sudo brew services ls
showed that it had started.I checked what netstat had to say:
I also tried the debug steps added by @danbarker and ran the thing directly. This is what I see:
This line seems to stick out:
Based on what I see in the repo, the code in
main.go
ends up running a docker container with the client, and I believe the client is failing here.Any ideas what might be going on here?
Versions