How to use docker Desktop 'docker-users'-group?

This troubleshooting guide explains how to add an user to docker-users group while using Docker Desktop.

For development, it is recommended to use Docker Desktop app. For this, your user needs to be added to the docker-users group.

Problem

Docker: you need to be in the docker-users group

Untitled

Solution

  1. Press the Windows + R keys to open the Run dialog.

  2. Type “netplwiz” and press Enter. This will open the User Accounts dialog.

  3. Make note of your username.

  4. Open PowerShell as an administrator.

  5. Type the following command and press Enter:

    net localgroup docker-users "username" /ADD
    

    Replace “username” with the username you noted in step 3.

  6. Reboot your system to apply the changes.

After rebooting, your user should be a member of the docker-users group and should be able to use Docker Desktop without any issues.

Last modified February 17, 2023: update (#208) (ea731fc)