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
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,30 @@ 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. 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
+
54
78
## Microsoft/DockerTools GitHub repo
55
79
56
80
For any other issues you encounter, see [Microsoft/DockerTools](https://github.com/microsoft/dockertools/issues) issues.
0 commit comments