-
-
Notifications
You must be signed in to change notification settings - Fork 777
Add local user accounts to the docker users group on Windows 10
This is applicable only if you are on Windows 10 and get the error message 'You are not allowed to use Docker, you must be in the "docker-users" group’ when trying to run Docker.
Check what Windows 10 edition you are using.
The instructions with images are found at this link. The steps are as follows:
- Search and open "Computer Management."
- Go to "Local Users and Groups."
- Go to "Users" and add yourself to the "docker-users" group.
- Open command prompt as an administrator. This is called elevated command prompt.
- Run the following command, replacing USER with your own:
net localgroup docker-users USER /add
You're good to go!
If you're curious as to why the instructions are different for Windows 10 Home, it's because Windows 10 Home is the only edition of Windows 10 without the "Local Users and Groups" snap-in. Instead, access "User Accounts" following the instructions in this link. Note that this does not allow you to add a local user account to multiple groups, which is a problem because you want to remain a Standard User or an Administrator. What's funny is that the first search result I found for how to add the same user to multiple groups got the response that the question was too complicated for the forum.
Click the arrow below each category to view links (or view original alphabetical list by clicking "Pages" above) :