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
Don't require homedir to be docker-shared (Warning message on ddev start
"failed to copy root CA into docker volume" )
#2398
Comments
This is a result of https://github.com/drud/ddev/blob/9bb78d5ba819f3f9a1907995eb9e07de79d67417/pkg/ddevapp/ddevapp.go#L890-L897 We use a mount to push it in there; instead we can use |
Overall, the push should be done in StartDdevRouter() instead of in ddevapp.Start(). That's simpler and more appropriate. And it shouldn't be done if the router is already going, or even already exists. The current code is pretty elegant as far as docker interactions go; they don't make it easy to push stuff into a volume. I experimented with
But it was 3 steps instead of one. I wasnt' really happy with that. |
ddev start
"failed to copy root CA into docker volume"ddev start
"failed to copy root CA into docker volume" (unshared homedir)
ddev start
"failed to copy root CA into docker volume" (unshared homedir)ddev start
"failed to copy root CA into docker volume" )
Describe the bug
macOS: It you docker-share a subdirectory of the homedir instead of the whole homedir, you get this complaint on start:
I'm pretty sure this is not necessary. I also can't see where it breaks https; https seems to be trusted anyway.
Also, this is a warning message instead of an error.
To Reproduce
ddev poweroff
ddev start
Expected behavior
Should "just work"
Screenshots
Version and configuration information (please complete the following information):
The text was updated successfully, but these errors were encountered: