Unable to open Docker

An unexpected error occurred

Failed to deploy distro docker-desktop to C:\Users\Chirag Nahata\AppData\Local\Docker\wsl\distro: :

Some WSL system related access rights are not set correctly. This sometimes happens after waking the computer or not being connected to your domain/active directory. Please try to reboot the computer. If not sufficient, WSL may need to be reinstalled fully. As a last resort, try to uninstall/reinstall Docker Desktop.

I am unable to install docker. The above is the error message. Please help as soon as possible. Thank You

What have you tried so far? The error message mentions some possible solutions. If you tried those, Which is your WSL and Windows version? Do you have WSL 2 or 1?

windows 10, wsl 2, I tried everything, full reinstalling and etc,

1 Like

Can you run any WSL distribution?

update:

Is your user an administrator? If it is not, you need to add the user to the ā€œdocker-usersā€ group.
Were you able to start the desktop before it almost immediately crashed or it is not started at all?

Iā€™m having the same problem. I cannot run any WSL distribution

1 Like

Docker will begin to start then stop right and post this error:

An unexpected error occurred:
Failed to deploy distro docker-desktop to C:\Users\georg\AppData\Local\Docker\wsl\distro: : {Application Error}

The exception s (0x

Some WSL system related access rights are not set correctly. This sometimes happens after waking the computer or not being connected to your domain/active directory. Please try to reboot the computer. If not sufficient, WSL may need to be reinstalled fully. As a last resort, try to uninstall/reinstall Docker Desktop.

Capture

sorted out this issue
if you are in a multilevel virtual enviroment
cut the subone out

1 Like

Iā€™m having the same problem, and I Had reinstalled Docker Desktop.

When I start the Docker Desktop, it show a red error:

Error invoking remote method 'fetch-data': FetchError: request to https://desktop.docker.com/tips.json failed, reason: net::ERR_SOCKET_NOT_CONNECTED

But I can get the ā€œhttps://desktop.docker.com/tips.jsonā€ content:

[
  {
    "id": 27,
    "title": "Do you know what's inside your image?",
    "body": "The new `docker sbom` CLI command displays the SBOM (Software Bill Of Materials) of any Docker image. This feature outputs the SBOM in a table or can be exported into SPDX and CycloneDX formats.",
    "url": "https://www.docker.com/blog/announcing-docker-sbom-a-step-towards-more-visibility-into-docker-images/"
  },
  {
    "id": 29,
    "title": "Docker Extensions are now available.",
    "body": "Docker Extensions allow you to build new functionality into Docker Desktop, extend its existing capabilities, and easily discover and integrate your favorite tools for scanning, debugging, Kubernetes, and more. Try out Docker Extensions in Docker Desktop version 4.8.",
    "url": "https://docs.docker.com/desktop/extensions/"
  },
  {
    "id": 30,
    "title": "Want to build more functionality into Docker Desktop?",
    "body": "You can now build your own integrations into Docker Desktop with the Docker Extensions SDK.",
    "url": "https://docs.docker.com/desktop/extensions-sdk/"
  },
  {
    "id": 31,
    "title": "New extensions available in the Marketplace",
    "body": "Slim.AI and Mirantis provide new ways to inspect your containers and manage your Kubernetes clusters, respectively. Also, the redesigned Logs Explorer extension makes it even easier to inspect all your container logs. Visit the Marketplace and improve your workflow now.",
    "url": "https://docs.docker.com/desktop/extensions/"
  }
]

Then I got ā€œAn unexpected error occurredā€.

Failed to deploy distro docker-desktop to C:\Users\Administrator\AppData\Local\Docker\wsl\distro: : *gacļæ½[ļæ½vļæ½ļæ½

Some WSL system related access rights are not set correctly. This sometimes happens after waking the computer or not being connected to your domain/active directory. Please try to reboot the computer. If not sufficient, WSL may need to be reinstalled fully. As a last resort, try to uninstall/reinstall Docker Desktop.

Then I try to run WSL distribution:

PS C:\Users\Administrator> wsl --list --verbose
  NAME            STATE           VERSION
* Ubuntu-20.04    Running         2

My user is an administrator.

me too.
cant run docker desktop.
-windows 11
-virtualization enabled

  • virtual machine Platform, windows subsystem for linux, hyper vā€¦ All Checked
    trying fully uninstall then installing again, still like this.
    image

finnaly i can run it.
what i did is kill the acrylicdns that run in port 53.
start Resource Monitor from start menu. then go to network ā†’ Listening Port.
there is PID there. kill it using Command prompt or Powershell as admin.
taskkill /f /pid [PID]

change the [PID] with your PID number without brackets

1 Like

Turned on Hyper-V and made restart. It worked for me

(November 2022)

Iā€™m getting this very same problem when trying to run Docker Desktop.

I too re-installed WSL (Ubuntu) and Docker Desktop (version 4.14.1) and nothing.

Is it the case that Docker is simply not intended to run in Windows environments yet?

Worked for me!
Thanks

I had the same error. I was using thing called Laravel valet and it required me to change DNS to point to the local host. Removed the valet and DNS settings and everything worked.