Docker – Docker Desktop – resolving issue – Access denied – You are not allowed to use Docker. You must be in the “docker-users” group

Error while opening / starting Docker Desktop
Error while opening / starting Docker Desktop

Hi All,

Greetings for the day !!! LIFE IS BEAUTIFUL 🙂

Today new issue and resolution.

Background

Error / Issue

Error while opening / starting Docker Desktop
fig : Error while opening / starting Docker Desktop

Docker Desktop – Access denied – You are not allowed to use Docker. You must be in the “docker-users” group

Solution

  • When we install Docker, user group is created – “docker-users
  • We need to add respective user to this group

Steps to add user to group

  • Start the “Server Manager” on our Windows Server as shown in below fig
Starting "Server Manager"
fig : Starting “Server Manager”

From “Server Manager” access the “Computer Management” => Server Manager >> Tools >> computer Management”

Server Manager >> Tools >> Computer management
Fig : Server Manager >> Tools >> Computer management

As we are in “Computer Management” – navigate to “Local Users and Groups” >> Groups as shown in below fig

Computer Management >> Local Users and Groups >> Groups
Fig : Computer Management >> Local Users and Groups >> Groups

From “Groups” – “Groups” listing select group – “docker-users” group, in this group we need to add user

docker-users group
Fig : docker-users group
Opening group - "docker-users" => Computer Management >> Local Users and Groups >> Groups >> docker-users
Fig : Adding use to group – “docker-users” => Computer Management >> Local Users and Groups >> Groups >> docker-users

References

Thanks for reading the article !!! Please feel free to discuss in case any issues / suggestions / thoughts / questions !!!

HAVE A GREAT TIME AHEAD 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: