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 Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

Leave a Reply

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

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading