Add local-user to docker-users

Error:

โ€œThe current user is not in the ‘docker-users’ group. Add yourself to the ‘docker-users’ group and then log out and back in to Windows.โ€

Error example in Visual Studio:

Solution:

Open the CMD in Admin mode and run the command below to add your user id to the docker-users group:

net localgroup docker-users "<your-user-id>" /ADD

Remarks:

  • your-user-idย is your local Windows user name. You can determine this by looking at the folder name under C:\Users\ .
  • After running the command above, you need to restart the machine for it to take effect.

Leave a Reply

Your email address will not be published. Required fields are marked *