You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/containers/troubleshooting-docker-errors.md
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,31 @@ which will refresh the network-related components on your host machine.
51
51
52
52
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
53
53
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
+
54
79
## Microsoft/DockerTools GitHub repo
55
80
56
81
For any other issues you encounter, see [Microsoft/DockerTools](https://github.com/microsoft/dockertools/issues) issues.
0 commit comments