rancher-sandbox / rancher-desktop

Container Management and Kubernetes on the Desktop
https://rancherdesktop.io
Apache License 2.0
5.97k stars 281 forks source link

Getting current user is not in the 'docker-users' group issue #6251

Open sharatchandra99 opened 10 months ago

sharatchandra99 commented 10 months ago

Actual Behavior

Hello, I've been using Rancher desktop for about six months now. Recently, I encountered an error when trying to run my application. Does anyone here have any insights or suggestions to resolve this issue? Issue: The current user is not in the 'docker-users' group. Add yourself to the 'docker-users' group and then log out and back in to Windows.

rancher issue

Steps to Reproduce

When I try to to run the docker-compose the I am getting the error

Result

Severity Code Description Project File Line Suppression State Priority Order Error The current user is not in the 'docker-users' group. Add yourself to the 'docker-users' group and then log out and back in to Windows.

For more info, please see: https://aka.ms/DockertoolsTroubleshooting. docker-compose C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.VisualStudio.Docker.Compose.targets 425

Expected Behavior

Should run the application

Additional Information

No response

Rancher Desktop Version

1.11.1

Rancher Desktop K8s Version

1.28.4

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 10 Enterprise and OS build Version is 19045.3570

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response

sharatchandra99 commented 9 months ago

Finally found the solution.

Navigate to the directory containing your docker-compose file and execute the command "docker-compose up -d."