-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
Improve local backend detection #4006
Conversation
This actually makes it impossible to use the local backend in containers. Maybe the better solution is to just drop the |
What's about entirely dropping default and auto-detect option? |
I'd still set a default as I think most users use the docker backend. If docker is not available it will fail anyways. |
oh right ... let me fix it |
backend == "local" || !inContainer That is exactly what I've just wanted to write! :) |
This breaks it if you use command line args instead of env vars. Please change this to use the CLI context (similar to docker) |
Co-authored-by: 6543 <6543@obermui.de>
Automatically detect Local backend only if Agent is NOT running in container.
Closes #3996.