-
Notifications
You must be signed in to change notification settings - Fork 46
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
docker-mac-net-connect stopped working with 4.16.1 #21
Comments
I am affected by this issue. It was working on 4.15 and older versions, not on 4.16. May I help diagnose the issue? |
Same problem here, is this related to changed in the docker VM structure somehow? |
I am also experiencing this issue, would love to know if there is any way around this. @waterson how are you downgrading to 4.14.1? |
I downgraded to an older version too, by following the uninstall instruction from the doc (change the tab to 'mac' as I can't link the tab directly). |
@obourgain I was able to downgrade to v15 simply by copying the older version in my application folder and overwrite the "newer" docker version. it was all working again then. containers are still there and working etc. is this project simply ongoing? or is there an alternative? |
Thanks for the tip |
The docker dev build linked in the issue below fixed this for me. |
FYI Docker Desktop 4.17.0 is out and appears to have resolved this issue: https://docs.docker.com/desktop/release-notes/#4170 |
With 4.17.0, the application stopped working for me after a while. |
FYI Docker Desktop For Mac 4.17.0 is OK. |
When it came out, Docker Desktop v4.17.0 was ok, but something has changed (not sure exactly what) and now docker-mac-net-connect fails to connect to the daemon socket in the Linux VM and set the bridge up. |
I've confirmed that 4.17.0 works from a fresh install (M2), but it's only been an hour so far. Looks like a lot of people are seeing only a temporary fix with 4.17.0, then it reverts back to connection issues. Going to see if I can reproduce this on my end by leaving it running for awhile. Can anyone confirm if they were able to get 4.17.0 working permanently? As @skriss pointed out, Docker Desktop for Mac did fix in 4.17.0 a UDP connection tracking bug when connecting to In case it helps you debug, you can read about how the tunnels work in the README: https://github.com/chipmk/docker-mac-net-connect#how-does-it-work. In summary:
|
I've been running Docker Desktop 4.17.0 with
After this, I am still able to connect to the containers directly as expected. @waterson @obourgain @tommy2d @philbrookes @Rodi26 @michelesr looks like you all experienced issues. I'm hoping to resolve this if it is ongoing. Can you confirm if you are still unable to connect to containers after:
Thank you. |
I'm seeing this issue still on 4.18.0 after following your steps with additionally purging all local vms/images/volumes after installing 4.18.0, rebooting, then rebuilding images. VMs were unable to do things such as |
It's working again for me with Docker Desktop v4.19.0 Edit: tried again later and getting:
|
I cannot seem to reproduce the bug after upgrading to Docker Desktop v4.19.0. However, the bug always took some time (or some unknown trigger) to start manifesting itself in previous version. I will keep a close eye on it. |
|
Could we try to make it work with docker context instead of socket? Probably should check the docker desktop options but as I was recently changing the socket between docker desktop and colima I had the command handy
and that fixed it. But it'd be great if it just picked up the active docker context and work with it, though not sure how it should behave if there are two docker servoces (desktop & colima) running at the same time... |
This worked for me. |
I've had great success running docker-mac-net-connect with Docker Desktop 4.15 and below on an M1 mac.
However, that environment started to get a bit unstable after I upgraded to Ventura 13.1, possibly because of docker/for-mac#6530. Anyway, I recently upgraded to 4.16.1 in hopes of having things get a bit more stable, but I'm not able to get docker-mac-net-connect working anymore. Below is what I see in the debug log...
For now, I've downgraded back to 4.14.1 and things are working again (albeit with some instability):
Thanks in advance for any advice!
The text was updated successfully, but these errors were encountered: