fix: Allow Docker Desktop for Linux (DDFL) but warn about it, fixes #7307#7363
Conversation
|
Download the artifacts for this pull request:
See Testing a PR. |
|
Manual run test failures:
|
There was a problem hiding this comment.
I couldn't test it properly on Arch Linux due to port conflicts, I don't even want to investigate it and will just rollback my system:
...
Error response from daemon: ports are not available: exposing port TCP 127.0.0.1:80 -> 127.0.0.1:0: listen tcp4 127.0.0.1:80: bind: permission denied'
...
Port 8025 is busy, using 33000 instead, see https://ddev.com/s/port-conflict
...
unable to listen on required ports, port 8142 is already in use,
Troubleshooting suggestions at https://ddev.readthedocs.io/en/stable/users/usage/troubleshooting/#unable-listen
...
Edit: I partly resolved it by changing the router ports to 8080/8443, installing qemu-full instead of qemu-base, and ddev start worked.
What I noticed is that I see this warning three times during ddev start:
Docker Desktop for Linux is not explicitly supported and may cause problems.
Not a big deal, but I wonder if it might make sense to add some kind of global array to the cache messages and have something like util.WarningOnce(), which also can be used for other repeating warnings (i.e. we can see the same disable-settings-management warnings several times).
|
Hmm, I was worried about that kind of thing, but didn't notice it. It's because I used |
|
It wasn't right to have the DDFL check in CheckDockerVersion() in the first place. Created CheckDockerProvider() for this purpose, and call it at startup. |
stasadev
left a comment
There was a problem hiding this comment.
Excellent, tested it, the warning is displayed only once.
Co-authored-by: Stanislav Zhuk <stasadev@gmail.com>
|
I had odd results trying to manually test TestTimezoneConfig with DDFL, and wasn't able to sort them out. Ubuntu 24.04, DDFL, TestTimezoneConfig fails because with ddev/pkg/ddevapp/config_test.go Line 1190 in ff5cffd Succeeds if I remove that line. But...
It's not that important to solve, but it sure is confusing. I have absolutely no idea why DDFL would be related to this, as it's a host-side lookup using go. So somehow hostTimezoneAbbrev is UTC, just |
|
Bizarre. It works fine with DDEV_DEBUG=true. |
The Issue
We hadn't been supporting Docker Desktop for Linux due to mounting problems, but those seem to be resolved.
How This PR Solves The Issue
Calm the language in the docs and in the warning that DDEV gives.
Manual Testing Instructions
With DDFL, do
ddev startRead docs.
Automated Testing Overview
I had hopes of being able to add automated testing with Github actions, but you can't currently accept the DDFL license agreement from command line, only from GUI.
Release/Deployment Notes