I am getting the following 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.
How do I solve this on Windows 10 Home? All the examples I find are for enterprise or pro versions of Windows.
15 Answers
Run this command from an administrator command window to add your user id to the docker-users group and log back into your user account for it to take effect.
net localgroup docker-users "your-user-id" /ADD 5It might occur that the user-group "docker-users" not exist on your machine. In that case enter the following commands in the Powershell
New-LocalGroup -Name 'docker-users' -Description 'docker Users Group' Add-LocalGroupMember -Group 'Administrators' -Member ('docker-users') –Verbose Add-LocalGroupMember -Group 'docker-users' -Member ('Username','Administrators') –Verbose 1Try restarting the system, that worked for me, as it pushed me to the group automatically.
If you are installing Docker Desktop from Chocolatey, you might only need a restart, as you are put in that group automatically.
In my case, I just uninstall and reinstall the docker. And it fine now.