-
-
Notifications
You must be signed in to change notification settings - Fork 120
Docker ENV variable not found #285
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
Comments
Hey, I'm having the same issue than my colleague @TefDesign. Like him, I'm using a MacBook M1 Pro, and I have the following app versions: And this is what outputs
Note that our others colleagues @Kern046 and @Geekimo use the same environment development (same laptop, same app versions) but don't have this issue. Is there any hint that can help us to fix this problem? Thanks! |
Well, after some debugging I've found that My other colleagues have this file, but @TefDesign and me have not, but re-creating manually through Anyway, I think we can still print the |
Is it possible that we "just" need to update our usage of the Docker library so that it accounts for this? |
Well, at my job we use Kandji to pre-configure this and upgrade apps (and Docker), but as said before some of my colleagues didn't have any problem. :/ Anyway, Docker was running fine even without the I see in https://pkg.go.dev/github.com/docker/docker/client#pkg-constants that you can configure
|
We already configure the library to check if there's any override of the docker host via their standard DOCKER_HOST environment variable. It looks to me your Docker daemon is running as a non root user, if that is the case, Docker configuration states you need to define the DOCKER_HOST env var: https://docs.docker.com/engine/security/rootless/#client |
Hum you're right about Anyway, I've added Thanks for the advice :) |
Uh oh!
There was an error while loading. Please reload this page.
When I start my local project, my Docker ENV variables are not found by Symfony CLI.
When I execute
symfony var:export --multiline
, I get the following output.When I inspect my docker container database :
Versions :
The text was updated successfully, but these errors were encountered: