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
Provide an option to allow Orbstack to improve Docker socket compatibility by default without entering password #281
Comments
I have the same request for the opposite reason: I explicitly do not want to "improve Docker socket compatibility" under any circumstances. This should prompt once (do you want to do X) and if the answer is no, never ask again unless a button is pushed in settings. Only after that prompt should it ask for my password again. Combining authorization (to make the change) and permissions elevation (the effective-sudo to make the socket link) in a single dialog is not great security UX. |
Yes, anyway I just don't want Orbstack to prompt everytime I restart my computer. |
We'll add a privileged helper tool to deal with this. The other case of permanently declining admin is another issue. I agree that we should handle it better, but good UX will be a little tricky because macOS doesn't allow adding anything to the authorization prompt (so no checkbox). Accidentally dismissing the prompt is likely far more common than intentionally declining it, so we might require several dismissals to make it permanent. |
Also, it's perfectly fine to decline the Docker socket symlink now, but in the future there will likely be more lost functionality as we add more privilege-dependent features in the future. It'll have to be a general setting for the entire helper tool. |
Thank you! |
In general, I’m looking at this from the perspective that "good" container software knows about contexts, and as I’m not on Linux and not using Docker Desktop, I don’t want to have the symlink under any circumstances (I will temporarily set |
I wanted to follow up on the bit about privilege-dependent features specifically. I think that there probably needs to be settings for the helper tool when you get to that. As I said in my previous reply, I will never want the docker sock link, even if I opt into other privilege-dependent features. That’s something that is fundamentally non-negotiable for me, because even for socket-based approaches, modern docker uses contexts and good applications that interact with docker should understand contexts, and setting |
Quick solution before feature landed: You can utilize a macOS Launch Daemon to automatically establish a symlink from Add file
Then load it |
Changes made for the next version:
|
Released in v0.16.1. |
Is your feature request related to a problem? Please describe.
Given I set OrbStack to start automatically each time I reboot my Mac, there's an annonying pop up showing "OrbStack wants to improve Docker socket compatibility. This is optional. Enter your password to allow this".
Describe the solution you'd like
I don't want this popup, so how can I get rid of this? I think maybe we just need to setup once in OrbStack to allow this then next time I reboot my Mac, this popup will dispear. Thank you.
The text was updated successfully, but these errors were encountered: