Skip to content

Commit 6845fa7

Browse files
committed
troubleshooting topic add new error
1 parent 4a2b6d5 commit 6845fa7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/containers/troubleshooting-docker-errors.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,30 @@ which will refresh the network-related components on your host machine.
5151

5252
When using Docker for macOS, you might encounter an error referencing the folder /usr/local/share/dotnet/sdk/NuGetFallbackFolder. Add the folder to the File Sharing tab in Docker
5353

54+
## Docker users group
55+
56+
You might encounter the following error in Visual Studio when working with containers:
57+
58+
```
59+
The current user must be in the 'docker-users' group to use Docker Desktop. Add yourself to the 'docker-users' group and then log out of Windows.
60+
```
61+
62+
You must be a member of the 'docker-users' group in order to have permissions to work with Docker containers. To add yourself to the group in Windows 10, follow these steps:
63+
64+
1. From the Start menu, open **Computer Management**.
65+
1. Expand **Local Users and Groups**, and choose **Groups**.
66+
1. Find the **docker-users** group, right-click and choose **Add to group**.
67+
1. Add your user account(s).
68+
1. Log out and log back in again for these changes to take effect.
69+
70+
You can also use the `net localgroup` command at the Administrator command prompt to add users to specific groups.
71+
72+
```cmd
73+
net localgroup docker-users DOMAIN/username /add
74+
```
75+
76+
Or to use a PowerShell command, see [Add-LocalGroupMember](/powershell/module/microsoft.powershell.localaccounts/add-localgroupmember).
77+
5478
## Microsoft/DockerTools GitHub repo
5579

5680
For any other issues you encounter, see [Microsoft/DockerTools](https://github.com/microsoft/dockertools/issues) issues.

0 commit comments

Comments
 (0)