Open wrightjjw opened 1 year ago
constated on version :
Not impacted :
Can also confirm this: 24.0.2 works while 24.0.6 does not
EDIT: Ignore please
Still seeing the problem on 4.23.0.
This has affected quite a few of my environments, I've had to completely uninstall docker, remove leftover files, and rollback to a previous version. I've tried installing versions 4.22.1, 4.21.1, and like clockwork I get the 'access is denied' to the docker_engine pipe. Nothing will fix it, I've tried switching between linux/windows containers, manually adding permissions to the docker_engine pipe. I have had some success with version 4.22.0. If I just do a vanilla install using the Docker Desktop installer on a clean server, it does not work and I see the error. Pipes are missing, and the file permissions on the data folder are all messed up. However, if I do the following, it seems to work for some inexplicable reason:
& '.Docker Desktop Installer.exe' install -backend=wsl-2 --windows-containers-default-data-root=D:\Data\Docker --wsl-default-data-root=D:\Data\WSL --always-run-service
It still messes up the folder permissions, and I have to manually correct them before starting the Docker engine windows service (in my case the D:\Data\Docker folders I'm using instead of the default 'c:\ProgramData\Docker' has no users configured. I have to add docker-users, system, administrators, service accounts)
This is the only way I can get it work, and I've repeated it 4 times successfully now on different servers. If I leave out the command line parameters and try and configure my data location in Docker Desktop, it fails. I'm not sure how a new version (4.23.0) got signed off for release when you cant even install Docker Desktop in Windows?Uninstall. Run installer as Administrator After it complains WSL is not updated. wsl --update Started fine after
What worked for me:
Docker Desktop V4.24.1
Thanks for trying to help. I haven't had this issue on later versions of docker, it works fine now. However I have had updates in the past break it like this twice now in the past six months or so. I wish I could provide version numbers but I'll keep an eye out if it happens again.
i have same issue on 4.24.2
upgraded to 4.25.0 and it is resolved
I had this error occur. I can consistantly reproduce by:
Anyway the easy fix for me is to go and shut docker down completely on the other account and the it will run fine on either account.
FYI Im running on latest version as I re-installed yesterday. Docker Engine v24.0.6, windows V4.25.0
I hope this helps someone.
Also @docker-robott that error message appears to have a typo as it says "Initializating" , I think this should be either "Initialization" or "Initializing"
Cheers
Upgraded to 4.25.0 and still with problem. Diagnostics for ID: B3EA5DB6-1D24-4BE5-BA03-8EBD6C149778/20231107231356
What worked for me:
- Open task manager
- End the "dockerd.exe" task
- Open Docker Desktop
Docker Desktop V4.24.1
"THIS WORKS FOR ME, THANKS"
Uninstall. Run installer as Administrator After it complains WSL is not updated. wsl --update Started fine after
Thanks. It works for me.
happening to me on all recent versions... for now i just downgraded to 4.20.1 and that fixed it... i hope they will fix this soon
I am also facing this issue, tried all the steps.
Ran Diagnostic Tool:
Diagnostics ID: 32A2AA20-005B-4766-959E-BF87EF73DB76/2024010409
What worked for me:
- Open task manager
- End the "dockerd.exe" task
- Open Docker Desktop
Docker Desktop V4.24.1
Nice man! This works for me.
Problem solved
Error response from daemon: open \.\pipe\docker_engine_linux: Access is denied
The error I got when I tried to run my tests on Linux docker container on Windows 11 using Github Actions's self hosted runner.
When I changed 'Github Action Runner' Services log on permission from 'This Account' to 'Local Account' problem is resolved. Problem was Github Actions was unable to access docker services from local Github runner.
Hello, could you provide a new set of diagnostics, please? Using 4.26.1 or 4.27 would be helpful. :)
I do not experience this issue on 4.27
Docker version 24.0.7, build afdd53b. Docker Desktop version 4.26.1 (131620)
Have this with Docker Desktop 4.27.1.
There are very seldom times when it works. But most of the time I get this error. The fixes suggested in this thread did not help
I had this error when running Podman desktop at the same time. Stopping podman machine and disabling auto-start of it helped.
Hello, Are you using Docker Desktop signed in multiple users? Right after you encounter the issue, can you provide us diagnostics? See here.
I had this error when running Podman desktop at the same time. Stopping podman machine and disabling auto-start of it helped.
That worked for me well.
The process that consumed the socket was winssh-proxy.exe
from podman.
I have the same error on Docker 4.27.2.
None of the above fixes has worked for me on 4.27.2.
Hello, Reiterating this:
Are you using Docker Desktop signed in multiple users? Right after you encounter the issue, can you provide us diagnostics? See here.
using choco if you install both docker desktop and docker engine by accident like me u may run into this issue
uninstall both and only install one
In my case, I was using a Github runner as a service to deploy Docker containers on my Windows server. I experienced similar problems and I tried downgrading the Docker engine but it did not work.
Then I stopped the Github service and reran the runner with the ./run.cmd command in PowerShell as an administrator. This solved my problem.
issue was resolved for me by stopping Podman processes on windows!
So, I ran into the exact same problem when installing both docker
engine and docker-desktop
with scoop
,what is worked for me is :
I had this error occur. I can consistantly reproduce by:
1. Install docker on windows account 1 2. run docker 3. stop docker engine 4. switch accounts to windows account 2 5. try to start docker 6. ![2023-11-08_08-57-29-Docker-Error](https://private-user-images.githubusercontent.com/6509093/281193678-c52ca4c4-5441-4fbd-a23a-4a915820e168.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI1ODI2OTAsIm5iZiI6MTcxMjU4MjM5MCwicGF0aCI6Ii82NTA5MDkzLzI4MTE5MzY3OC1jNTJjYTRjNC01NDQxLTRmYmQtYTIzYS00YTkxNTgyMGUxNjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDQwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA0MDhUMTMxOTUwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWYzYzQ1ZjA4MTgwMGQ5M2M2M2FkY2VjZThjMWUwMGU3NzMxMzA1NTJiYThlYzdkNmRhOTEzMmZmYWQwNDM4NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.sKhBj6nSsr7LgqOSFUts7ZMj8QegtQi9zvnPHwjPl5g)
Anyway the easy fix for me is to go and shut docker down completely on the other account and the it will run fine on either account.
FYI Im running on latest version as I re-installed yesterday. Docker Engine v24.0.6, windows V4.25.0
I hope this helps someone.
Also @docker-robott that error message appears to have a typo as it says "Initializating" , I think this should be either "Initialization" or "Initializing"
Cheers
Thank you. This did the trick
Experienced the Same issue. Resolved it by turning off (killing) wsl related processes.
Description
On the latest version of docker, I can't even get docker desktop to start. This started happening quite suddenly, and after a fresh reinstall nothing changes.
When trying to start, all I get is a popup that says "Something went wrong. Starting services: initializing Docker API Proxy: open \.\pipe\docker_engine: Access is denied." I have the options "quit", "diagnose & feedback", and "reset Docker to factory settings." None of these fix the problem.
Reproduce
Expected behavior
Docker desktop should start.
docker version
docker info
Diagnostics ID
EF1CFA4B-7118-4ED3-9652-1870C115ACD5/20230829134543
Additional Info
No response