-
-
Notifications
You must be signed in to change notification settings - Fork 585
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 restart while project is running results in port errors on ddev start
due to macOS docker bug
#2981
Comments
Reopening this, because the real problem is upstream, and we want people to be able to find it. |
ddev start
ddev start
due to macOS docker bug
To prevent this docker problem, avoid rebooting or powering off or restarting docker while any ddev project is running. To fix things when you have this problem: |
ddev start
due to macOS docker bugddev start
due to macOS docker bug
I'm hoping this got fixed in today's Docker Desktop 3.4.0 but don't see it in the release notes |
If you are facing this issue, consider enabling the option "Allow the default Docker socket to be used (requires password)" under "Advanced" in the "Settings" screen. First, After I reproduced these steps, I stopped having the issue. I have Docker Desktop 4.20.1 and Ddev 1.21.6 |
Symptom:
Failed to start d9: Unable to listen on required ports, port 443 is already in use, Troubleshooting suggestions at https://ddev.readthedocs.io/en/stable/users/troubleshooting/#unable-listen
Run a Diagnostic and Paste Link Here
test_ddev.sh output: https://gist.github.com/rfay/f29c71dcde73c59cefd5257b51b37225
Describe the bug
If you leave at least one project running (which leaves ddev-router running) in v1.17+, and restart docker or restart the computer, then start a project (the same one or a different one), you get
This appears to be a docker bug with restarting ddev-router.
Update: This is in fact a newer bug in Docker Desktop for Mac, docker/for-mac#5649
To Reproduce
In my experience this can always be fixed with
ddev poweroff
and (often) a docker restart. It's also easily prevented by addev poweroff
before computer shutdown or docker restart.Expected behavior
It should just start the project.
Version and configuration information (please complete the following information):
Additional Context
This seems to be mostly caused by a related Docker Desktop problem on macOS amd64 and arm64: docker/for-mac#5649
A perhaps related failure was reported in TYPO3 #ddev slack
https://gist.github.com/rfay/cb0228078eb928c00560e9b133bf352c
The text was updated successfully, but these errors were encountered: