Docker: Service is not running. Windows will ask you for elevated access

I try to configure docker to start automatically after I log on.

I have a pop up saying 'service is not running' 'Docker desktop is not running. would you like to start it? Windows will ask you for elevated access.'

Service is not running

After I click on the start, the whale appears on the taskbar, then after a while, it disappears. Docker fails to start

If I log on into my administrative account, it also shows up, but, it starts without problems.

I have already add my account to docker-users

0

1 Answer

The reason for requiring an admin session is that the Docker client in the default configuration uses a named pipe to connect to the Docker engine and that named pipe can only be accessed by administrators.

To avoid this, you can simple allow your user 'FullControl' access to that named pipe.

You can find a Powershell module here that will fix it.

Instructions on how to use the module are here.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like