Skip to content

Commit 109bded

Browse files
authored
Merge pull request #3546 from MicrosoftDocs/master636972538278242108
Fix git push error for protected CLA branch
2 parents 9e8aa76 + 16d8ffc commit 109bded

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/containers/troubleshooting-docker-errors.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,31 @@ 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.
60+
Add yourself to the 'docker-users' group and then log out of Windows.
61+
```
62+
63+
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:
64+
65+
1. From the Start menu, open **Computer Management**.
66+
1. Expand **Local Users and Groups**, and choose **Groups**.
67+
1. Find the **docker-users** group, right-click and choose **Add to group**.
68+
1. Add your user account or accounts.
69+
1. Sign out and sign back in again for these changes to take effect.
70+
71+
You can also use the `net localgroup` command at the Administrator command prompt to add users to specific groups.
72+
73+
```cmd
74+
net localgroup docker-users DOMAIN\username /add
75+
```
76+
77+
In PowerShell, use the [Add-LocalGroupMember](/powershell/module/microsoft.powershell.localaccounts/add-localgroupmember) function.
78+
5479
## Microsoft/DockerTools GitHub repo
5580

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

0 commit comments

Comments
 (0)