Replies: 5 comments 1 reply
-
Hmm.
Could you expand on what is not working when you install Rancher Desktop privileged, and then run it as a normal (interactive) user? That may be a bug we need to fix. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for your suggestion. This is my situation: I installed Rancher Desktop "for everyone" on both Windows PCs that I mentioned in my previous post and by following the instructions on https://docs.rancherdesktop.io/faq, I added Rancher Desktop icon to the Windows startup. I restarted the machine and Rancher ran at Windows Startup as expected. Rancher Desktop is set to run as a "background service". In the preferences dialog box, under WSL - Integrations I selected the option "Expose Rancher Desktop's Kubernetes configuration and Docker socket to Windows Subsystem for Linux (WSL) distros" and selected "Ubuntu" which is one of the distros at my disposal and is the default.
If I open Ubuntu on WSL2 and type "docker info" everything seems to be working as expected apart from the "docker-credential-secretservice". Docker-compose generates errors in getting credentials. This can be fixed by installing some packages. If I use Git Bash which is based on a small distro of Linux or Powershell, and I type "docker info", I get the following error: If I run Git Bash or Powershell as an Administrator everything works fine. Just for comparison, when I was using Docker Desktop all the clients were working fine with the unprivileged user. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
I overcame some of the limitations that encountered by modifying the configuration of the Ubuntu distro that I installed on WSL2. My setup:
I just wanted to share my experience with other users and verify my assumptions:
|
Beta Was this translation helpful? Give feedback.
-
I assume this means that
That should still make As for Ubuntu (in WSL2), that shouldn't be using That is, as far as I can tell, the original issue described (from Windows, |
Beta Was this translation helpful? Give feedback.
-
Thanks for your suggestions. I have solved my issues and found a way to use the unprivileged user for my local DX workflows.
After reboot, I could see the Rancher Desktop icon in the system tray: With this approach, the only change that I had to make was on the connection strings used for the various integrations running on containers. I couldn't use any more 'localhost' in them. I had to use 127.0.01 instead. Thanks again and keep up the great work! |
Beta Was this translation helpful? Give feedback.
-
I started using Rancher Desktop as a Docker alternative for the local developer experience on my projects as I don't need all the functionalities provided by Docker Desktop. In my approach, I use the Docker engine, Docker CLI, and Docker Compose to spin up various technologies on the developers' machines for development purposes.
Thanks to Rancher Desktop this approach is still possible as it offers out-of-the-box Docker open-source functionalities.
Using Rancher Desktop for my workflow comes at a cost as I have few issues with it.
Do you have any recommendations or advice for me?
Beta Was this translation helpful? Give feedback.
All reactions