Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access denied #14654

Open
Goldorako opened this issue Mar 12, 2025 · 16 comments
Open

Access denied #14654

Goldorako opened this issue Mar 12, 2025 · 16 comments

Comments

@Goldorako
Copy link

Description

Hello

My docker was running fine during several days, and 3 days ago it stops with this message "pipe\docker_engine: Access is denied."

Image

I have already tried without success :

  • to start it as administrator
  • check my user authorization, and it'is ok (Get-LocalGroupMember -Name "docker-users")
  • reset to factory default
  • uninstall/reinstall

It seems to look for a linux file, but I am with a windows configuration...

Docker version 27.5.1, build 9f9e405

Thanks for any help

Reproduce

start docker desktop

Expected behavior

No response

docker version

Client:
 Version:           27.5.1
 API version:       1.47
 Go version:        go1.22.11
 Git commit:        9f9e405
 Built:             Wed Jan 22 13:41:44 2025
 OS/Arch:           windows/amd64
 Context:           desktop-linux
error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/version": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.

docker info

Client:
 Version:           27.5.1
 API version:       1.47
 Go version:        go1.22.11
 Git commit:        9f9e405
 Built:             Wed Jan 22 13:41:44 2025
 OS/Arch:           windows/amd64
 Context:           desktop-linux
error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/version": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.

Diagnostics ID

60CDB906-FEA1-4A65-96ED-32DBBCFFF4D4/20250312144522

Additional Info

No response

@karman-docker
Copy link

@Goldorako you have podman running on your system which is using that named pipe npipe:////./pipe/docker_engine needed by Docker Desktop.

"C:\Program Files\WindowsApps\MSTeams_25031.805.3440.5290_x64__8wekyb3d8bbwe\ms-teams.exe"  --process_type=native_module --module_name=SlimCore --native_msg_channel=18426241-5729-4fa3-b00d-9617890b892a_nm_SlimCore_c_ --session_id=aabcb558-5399-4bcc-b19e-dd80d63a223d    /prefetch:1
<HOME>\AppData\Roaming\podman-5.2.4\usr\bin\win-sshproxy.exe hivello <HOME>\.local\share\containers\podman\machine\wsl\hivello npipe:////./pipe/podman-hivello ssh://root@localhost:65251/run/podman/podman.sock <HOME>\.local\share\containers\podman\machine\machine npipe:////./pipe/docker_engine ssh://root@localhost:65251/run/podman/podman.sock <HOME>\.local\share\containers\podman\machine\machine
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --type=renderer --enable-distillability-service --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --no-pre-read-main-dll --video-capture-use-gpu-memory-buffer --lang=fr --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=13203 --time-ticks-at-unix-epoch=-1741427954287825 --launch-time-ticks=184861348078 --field-trial-handle=1996,i,7925298759075790305,16054592222778862110,262144 --variations-seed-version --mojo-platform-channel-handle=25284 /prefetch:1
dashost.exe {d19d837d-7d54-49ac-bf1e341d43cd1484}

If you terminate podman, you should be able to start and use Docker Desktop.

@CRAZYNEO17
Copy link

@karman-docker I tried your suggestion but it seems that it isn't resolving the issue either

@Goldorako
Copy link
Author

Thanks @karman-docker
It was running past months correctly with podman (for hivello), but I've just tried to kill Hivello, I have not seen podman in my processess, but it still doesnt work for Docker...

@karman-docker
Copy link

@Goldorako did you get the same access denied error ? Can you share a new diag for review please.

@CRAZYNEO17
Copy link

@karman-docker @Goldorako
Try Changng Ownership to SYSTEM Account on Properties of Docker Desktop and Enable Inheritance
That Fixed the Issue with me

@Goldorako
Copy link
Author

@Goldorako did you get the same access denied error ? Can you share a new diag for review please.

I have exactly the same issue
here is my diagnostic ID : 60CDB906-FEA1-4A65-96ED-32DBBCFFF4D4/20250313062550

@Goldorako
Copy link
Author

@karman-docker @Goldorako Try Changng Ownership to SYSTEM Account on Properties of Docker Desktop and Enable Inheritance That Fixed the Issue with me

How can I do this?
I can not start DockerDesktop, I directly have the access denied popup

@karman-docker
Copy link

@Goldorako from your diag, I still see that process running:

<HOME>\AppData\Roaming\podman-5.2.4\usr\bin\win-sshproxy.exe hivello <HOME>\.local\share\containers\podman\machine\wsl\hivello npipe:////./pipe/podman-hivello ssh://root@localhost:65251/run/podman/p    odman.sock <HOME>\.local\share\containers\podman\machine\machine npipe:////./pipe/docker_engine ssh://root@localhost:65251/run/podman/podman.sock <HOME>\.local\share\containers\podman\machine\machin    e

Probably something is relaunching it after you killed it.

@CRAZYNEO17
Copy link

@karman-docker @Goldorako Try Changng Ownership to SYSTEM Account on Properties of Docker Desktop and Enable Inheritance That Fixed the Issue with me

How can I do this?
I can not start DockerDesktop, I directly have the access denied popup

Search for docker in Start
Right Click icon and click open file location
It'll give you a shortcut in file explorer
Right click the shortcut and click open file location again
This time you'll be in the docker folder
Search for Docker Desktop Launcher
Right Click and Go to its properties and then to security tab
Click advanced and change ownership to system
Check if inheritance is enabled or not
If not then enable it
Verify your account and administrators account have full access same as System User and ✅

@CRAZYNEO17
Copy link

@Goldorako from your diag, I still see that process running:

<HOME>\AppData\Roaming\podman-5.2.4\usr\bin\win-sshproxy.exe hivello <HOME>\.local\share\containers\podman\machine\wsl\hivello npipe:////./pipe/podman-hivello ssh://root@localhost:65251/run/podman/p    odman.sock <HOME>\.local\share\containers\podman\machine\machine npipe:////./pipe/docker_engine ssh://root@localhost:65251/run/podman/podman.sock <HOME>\.local\share\containers\podman\machine\machin    e

Probably something is relaunching it after you killed it.

Unregister Podman for a while and try again

@Goldorako
Copy link
Author

@karman-docker @Goldorako Try Changng Ownership to SYSTEM Account on Properties of Docker Desktop and Enable Inheritance That Fixed the Issue with me

How can I do this?
I can not start DockerDesktop, I directly have the access denied popup

Search for docker in Start Right Click icon and click open file location It'll give you a shortcut in file explorer Right click the shortcut and click open file location again This time you'll be in the docker folder Search for Docker Desktop Launcher Right Click and Go to its properties and then to security tab Click advanced and change ownership to system Check if inheritance is enabled or not If not then enable it Verify your account and administrators account have full access same as System User and ✅

I have done it, and all the rights are ok

Image

@Goldorako
Copy link
Author

share\containers\podman

ok thanks, I am gonna try to uninstall Hivello and podeman

@CRAZYNEO17
Copy link

share\containers\podman

ok thanks, I am gonna try to uninstall Hivello and podeman

Don't Forget to use ' wsl --unregister podman-hivello' in terminal

@Goldorako
Copy link
Author

share\containers\podman

ok thanks, I am gonna try to uninstall Hivello and podeman

Don't Forget to use ' wsl --unregister podman-hivello' in terminal

@Goldorako
Copy link
Author

I close it by mistake ;)

@Goldorako Goldorako reopened this Mar 14, 2025
@Goldorako
Copy link
Author

share\containers\podman

ok thanks, I am gonna try to uninstall Hivello and podeman

Don't Forget to use ' wsl --unregister podman-hivello' in terminal

I think I've got a conflit between my windows partition and my Linux one, where podman is installed (that's why I have unable to find it in my windows proesses)
But it's strange, docker desktop is running on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants