for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker does not work after installation

Open Thomas61197 opened this issue 4 years ago • 22 comments

  • [x] I have tried with the latest version of Docker Desktop
  • [ ] I have tried disabling enabled experimental features. I can't disable experimental settings bc I cannot access the settings.
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: 538D3065-88EA-4B67-99F2-547648A8D2C2/20220211132529

Actual behavior

When open the app it says docker stopped working... setting page doesn't load. Running the following from cmd gets me: d:\Users\ThomasBoer\big_data>docker pull mtasnim/jupyter-pyspark-duckdb Using default tag: latest error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/create?fromImage=mtasnim%2Fjupyter-pyspark-duckdb&tag=latest": open //./pipe/docker_engine: The system cannot find the file specified.

Getting this on startup after installing docker for some reason: startup_docker.txt

image

image

Expected behavior

It working as it should.

Information

  • Windows Version: Edition Windows 10 Home Version 21H1 Installed on ‎9/‎28/‎2020 OS build 19043.1526 Experience Windows Feature Experience Pack 120.2212.4170.0

  • Docker Desktop Version: d:\Users\ThomasBoer\big_data>docker version error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified. Client: Cloud integration: v1.0.22 Version: 20.10.12 API version: 1.41 Go version: go1.16.12 Git commit: e91ed57 Built: Mon Dec 13 11:44:07 2021 OS/Arch: windows/amd64 Context: default Experimental: true

  • WSL2 or Hyper-V backend? WSL2

  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No

Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

diagnostics ID: 538D3065-88EA-4B67-99F2-547648A8D2C2/20220211132529

Steps to reproduce the behavior

  1. Install docker
  2. sign out
  3. sign in
  4. start docker
  5. exit docker
  6. uninstall docker
  7. restart computer
  8. run docker installer as administrator
  9. run docker as administrator
  10. clean / purge data - all
  11. reset docker to factory settings
  12. restart computer

Thomas61197 avatar Feb 11 '22 13:02 Thomas61197

I am having the same issue. I can run lines in powershell to switch the daemon and this gets docker running and I can access the settings but cannot enable WSL2 integration. That option is still greyed out. I am on windows build 19044.1526, (so meets the 2004 minimum.)

mccaa25 avatar Feb 11 '22 15:02 mccaa25

I have tried uninstalling Docker and Ubunutu and disabled and reenabled WSL and virtual machine support in windows and reinstalled Docker as administrator. It doesnt make any difference.

mccaa25 avatar Feb 11 '22 15:02 mccaa25

These commands in powershell as administrator will get docker running but will not allow to use wsl2 based engine: Step 1> cd "C:\Program Files\Docker\Docker" Step 2> ./DockerCli.exe -SwitchDaemon

mccaa25 avatar Feb 11 '22 15:02 mccaa25

I am having the same issue. And done the same steps :(

leolnid avatar Feb 11 '22 16:02 leolnid

I went to release notes for Docker Desktop for Windows and downloaded 4.4.2, uninstalled 4.5.0 and installed 4.4.2 as administrator (not sure if this was necessary), and now it works fine. Spent 6 hours trying to get 4.5.0 to work. Clearly there is a bug in 4.5.0!

mccaa25 avatar Feb 11 '22 16:02 mccaa25

Im happy with 4.4 at this point. If it works. it is better than 4.5

mccaa25 avatar Feb 11 '22 16:02 mccaa25

** one point to note though, when I run 4.4.2 it does say there is an update to 4.4.4 so it might be worth grabbing this one if you want to roll back to an older one. I haven't tried updating to this but I think the problem occurs with 4.5, so 4.4.4 might be safe. 4.4.2 definitely works for me.

mccaa25 avatar Feb 11 '22 16:02 mccaa25

**Ok well, it "tricked" me into downloading 4.5.0 because it said it was going to update to 4.4.4, However this time, 4.5.0 worked immediately. The WSL integration box is grayed out but this time it is checked! Before it was unchecked.

mccaa25 avatar Feb 11 '22 17:02 mccaa25

I'm having the same issue. Any updates about @mccaa25 ?

RaczoOBY avatar Feb 11 '22 17:02 RaczoOBY

Yeah. After I downloaded 4.4.2 it worked on the first try (well second try but basically all I did was restart it. There was some different error the first time and i clicked continue or ignore or try again or something. Anyways, it just then started. The WSL2 integration option box was still grayed out but it was selected so I didnt need to change it anyways. Then I did try to update to 4.4.4 but it actually installed 4.5.0. But it worked fine and my container was still there and working fine. So it seems that by installing 4.4.2 and then updating to 4.5.0 worked ok.

mccaa25 avatar Feb 11 '22 17:02 mccaa25

I went to release notes for Docker Desktop for Windows and downloaded 4.4.2, uninstalled 4.5.0 and installed 4.4.2 as administrator (not sure if this was necessary), and now it works fine. Spent 6 hours trying to get 4.5.0 to work. Clearly there is a bug in 4.5.0!

this worked for me, thank you so much!

Thomas61197 avatar Feb 11 '22 17:02 Thomas61197

So happy it helped someone else too! :)

On Fri, Feb 11, 2022, 12:47 PM Thomas61197 @.***> wrote:

I went to release notes for Docker Desktop for Windows and downloaded 4.4.2, uninstalled 4.5.0 and installed 4.4.2 as administrator (not sure if this was necessary), and now it works fine. Spent 6 hours trying to get 4.5.0 to work. Clearly there is a bug in 4.5.0!

this worked for me, thank you so much!

— Reply to this email directly, view it on GitHub https://github.com/docker/for-win/issues/12545#issuecomment-1036459690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVTNM3HGUMP5OWMROCJJPXTU2VDRXANCNFSM5OEJ7JGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

mccaa25 avatar Feb 11 '22 17:02 mccaa25

FIX : Just go to the config file at C:\Users\<username>\AppData\Roaming\Docker\settings.json, and set "wslEngineEnabled": true that will fix this issue for v4.5 :)

rahul3v avatar Feb 12 '22 13:02 rahul3v

Great. Thanks.

On Sat, Feb 12, 2022, 8:24 AM Rahul @.***> wrote:

Just go to the config file at C:\Users<username>\AppData\Roaming\Docker\settings.json, and set "wslEngineEnabled": true that will fix this issue for v4.5 :)

— Reply to this email directly, view it on GitHub https://github.com/docker/for-win/issues/12545#issuecomment-1037225140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVTNM3BWI52U4CGYFG4GRZLU2ZNQHANCNFSM5OEJ7JGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

mccaa25 avatar Feb 12 '22 13:02 mccaa25

FIX : Just go to the config file at C:\Users\<username>\AppData\Roaming\Docker\settings.json, and set "wslEngineEnabled": true that will fix this issue for v4.5 :)

Thank you @rahul3v , this fixed it for me 😊

WapnerSensefarm avatar Feb 12 '22 15:02 WapnerSensefarm

FIX : Just go to the config file at C:\Users\<username>\AppData\Roaming\Docker\settings.json, and set "wslEngineEnabled": true that will fix this issue for v4.5 :)

Thank you @rahul3v, this issue fixed for me too :)

anuatreya avatar Feb 13 '22 06:02 anuatreya

Hi, indeed there is an issue in Desktop 4.5.0 that defaults to disable the WSL 2 backend even for Windows Home where it’s the only one that should be available.

We will be releasing a Desktop 4.5.1 to fix this, but in the meanwhile the fix suggested by @rahul3v is correct.

mat007 avatar Feb 14 '22 14:02 mat007

Thank you very much, downgrading to 4.4.0 has helped. WSL2 connects, and rest of integration works fine.

varadarajan-videoyantra avatar Feb 14 '22 17:02 varadarajan-videoyantra

Thank you for all those great emojis, I appreciate that :)

rahul3v avatar Feb 14 '22 18:02 rahul3v

We have released Docker Desktop 4.5.1 to address this, see https://docs.docker.com/desktop/windows/release-notes/#docker-desktop-451

mat007 avatar Feb 15 '22 12:02 mat007