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

Docker Daemon is not running #2671

Closed
BharathMannem opened this issue Sep 29, 2018 · 15 comments
Closed

Docker Daemon is not running #2671

BharathMannem opened this issue Sep 29, 2018 · 15 comments

Comments

@BharathMannem
Copy link

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.

@shiviAgrawal1
Copy link

same issue with me.

@Casraw
Copy link

Casraw commented Oct 2, 2018

Run this as Administrator

@BharathMannem
Copy link
Author

I tried that option too. You mean docker/ PowerShell

@Casraw
Copy link

Casraw commented Oct 2, 2018

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

@medbelkheiri
Copy link

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

@Casraw
Copy link

Casraw commented Oct 6, 2018

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

@QUDUSKUNLE
Copy link

same issue with me.

@RajeswariMamilla
Copy link

Same here

@rquintino
Copy link

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?)

@docker-robott
Copy link
Collaborator

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

@benktesh
Copy link

benktesh commented May 29, 2019

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 (#1825).

@pcimring
Copy link

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!

@Ankit3794
Copy link

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

worked for me!

@piyushbag
Copy link

@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

@docker-robott
Copy link
Collaborator

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 docker locked and limited conversation to collaborators Jul 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests