-
Notifications
You must be signed in to change notification settings - Fork 116
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
Docker-Desktop adds ~/.docker/bin/
to my $PATH
without telling me
#6664
Comments
~/.docker/bin/
to my $PATH
without telling me
I just encountered this and have the same opinion. Modifying my shell initialization scripts automatically is pretty terrible behavior. What's worse is that if I change a single character of the line it adds, then the line gets added again. On top of all that, this happpens every time Docker Desktop is started. I've never had a program behave so aggressively before. Since all Docker Desktop is doing is ensuring that some binaries are on the |
Hi @JannikArndt and @jaminthorns ! Firstly, apologies for this. We're looking to address these issues asap. In particular, ensuring that the user explicitly authorises the operation to adjust the $PATH. I wonder if I could schedule ~30 mins with each of you to get some feedback on how we're thinking of solving this via a new flow ? @JannikArndt i see you have an email on your profile so I'll reach out directly ! @jaminthorns - my email is chris.mclellan@docker.com, i'd love to hear from you, if you're able to spare the time ! Thanks again for the feedback. |
@christophermclellan Could you please explain why Docker is adding it's own |
@christophermclellan wrote:
Any progress on this? |
@gimbo this will be resolved via the new install flow for Desktop v4.18, which is due to be released this week. |
docker/for-mac#6664 https://docs.docker.com/desktop/mac/permission-requirements/#installing-symlinks > With version 4.18 or later, you can choose whether to install symlinks either in /usr/local/bin or $HOME/.docker/bin during installation of Docker Desktop.
LGTM. I just shut down v4.16, removed the lines it had added from Many thanks! 🙏 |
Thanks for confirming @gimbo. I'll close this issue until further notice. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. /lifecycle locked |
After updating to Docker Desktop 4.15.0, it added
to my
.zshrc
. It also created.config/fish/config.fish
,.bash_profile
and.bashrc
with the same line.The
bin
folder is currently empty, which makes this even more suspicious.I consider this bad behavior. Apps are not supposed to change my
$PATH
without at least telling me or mentioning it in the Release Notes.The text was updated successfully, but these errors were encountered: