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

Docker Daemon is not running

Open BharathMannem opened this issue 8 years ago • 15 comments

Windows 10 Pro PS C:\WINDOWS\system32> docker --version Docker version 18.06.1-ce, build e68fc7a

PS C:\WINDOWS\system32> docker ps error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

BharathMannem avatar Sep 29 '18 17:09 BharathMannem

same issue with me.

shiviAgrawal1 avatar Sep 30 '18 06:09 shiviAgrawal1

Run this as Administrator

Casraw avatar Oct 02 '18 00:10 Casraw

I tried that option too. You mean docker/ PowerShell

BharathMannem avatar Oct 02 '18 02:10 BharathMannem

Yes, but try also cmd. Like dockerd in powershell and docker in cmd. And stop the service when you start with that.

Casraw avatar Oct 02 '18 08:10 Casraw

Same issue happening to me. Tried different options and doesn't solve it :

  • Option 1 : Run through PowerShell with and without admin elevation
  • Option 2 : Run it through cmd

medbelkheiri avatar Oct 05 '18 04:10 medbelkheiri

Ok what says dockerd? When your runn it in powershell (Do you have the nat interface, do you stop the service....)??

Casraw avatar Oct 06 '18 16:10 Casraw

same issue with me.

QUDUSKUNLE avatar Oct 06 '18 18:10 QUDUSKUNLE

Same here

RajeswariMamilla avatar Oct 11 '18 16:10 RajeswariMamilla

Hi, I solved this running the docker for windows (dekstop app), as administrator (not the docker command) like this:

image

hope it helps! (was working fine, don't what caused this, update?)

rquintino avatar Oct 17 '18 22:10 rquintino

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Jan 15 '19 02:01 docker-robott

I had to go through this problem. I was able to resolve this by switching the docket daemon. cd "C:\Program Files\Docker\Docker" ./DockerCli.exe -SwitchDaemon

The solution was posted in (https://github.com/docker/for-win/issues/1825).

benktesh avatar May 29 '19 03:05 benktesh

Hi, I solved this running the docker for windows (dekstop app), as administrator (not the docker command) like this:

image

hope it helps! (was working fine, don't what caused this, update?)

Worked for me (after restarting, logging in, and generally jumping through several hoops :) Tx!

pcimring avatar Jul 31 '19 06:07 pcimring

mofcomp.exe C:\Windows\System32\wbem\NetNat.mof

worked for me!

Ankit3794 avatar Mar 03 '20 05:03 Ankit3794

@Ankit3794 getting the below error while running the above command

Microsoft (R) MOF Compiler Version 10.0.18362.1
Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
Parsing MOF file: C:\Windows\System32\wbem\NetNat.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while processing item 1 defined on lines 5 - 12 in file C:\Windows\System32\wbem\NetNat.mof:
Error Number: 0x80041003, Facility: WMI
Description: Access denied
Compiler returned error 0x80041003

piyushbag avatar May 31 '20 14:05 piyushbag

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jul 02 '20 03:07 docker-robott