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

Docker Desktop Resource Saver Quietly Kills docker-mac-net-connect #36

Open
pfandzelter opened this issue May 31, 2024 · 1 comment
Open

Comments

@pfandzelter
Copy link

I am running into issues with the docker-mac-net-connect service since Docker Desktop v4.24, which enabled Resource Saver by default. Resource Saver kills the Docker VM if no containers are run for 5 minutes in order to save resources (see here). Obviously that's a great feature that I want to keep enabled, but it quietly breaks docker-mac-net-connect whenever it kicks in as the VM-side component don't restart as soon as the VM is started anew. I'm looking to fix this in a PR, but for now I want to report this just in case other people run into this. The workaround for now is to either disable Resource Saver or restart docker-mac-net-connect whenever you want to use it.

@gregnr
Copy link
Member

gregnr commented May 31, 2024

@pfandzelter Thanks for the heads up. docker-mac-net-connect does have logic that auto-resets itself when it loses connection and reconnects to the Docker daemon, so I'm a bit surprised it's not working in this context. Looking forward to seeing what you find out.

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

2 participants