Docker Community Forums

Share and learn in the Docker community.

Dockerd deamon failed to start


(Jleroux) #1

Expected behavior

Service should be running

Actual behavior

When I run the command : dockerd.exe --run-service, I’ve got that error
open //./pipe/docker_engine: Access is denied. []

Information

I’ve install docker as per Microsoft recommandation
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force -Verbose

Install-Package -Name docker -ProviderName DockerMsftProvider -Verbose -Force
…Look like installation terminate, but at the end I have this msg :slight_smile:
VERBOSE: Preparing to expand…
VERBOSE: Created ‘C:\Program Files\docker\dockerd.exe’.
VERBOSE: Created ‘C:\Program Files\docker\docker.exe’.
VERBOSE: Trying to enable the docker service…
VERBOSE: Removing the archive: C:\Users\ADMINI~1.000\AppData\Local\Temp\DockerMsftProvider\Docker-17-03
-2-ee-5.zip
Install-Package : Cannot rename because item at ‘C:\Program Files\dummyName’ does not exist.
At line:1 char:1

  • Install-Package -Name Docker -ProviderName DockerMsftProvider -Verbos …

    • CategoryInfo : InvalidOperation: (Microsoft.Power…InstallPackage:InstallPackage) [I nstall-Package], Exception
    • FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand,Micros
      oft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Could not complete on : Install-Package : Cannot rename because item at ‘C:\Program Files\dummyName’ does not exist.

Hum…
I’ve try a manual installation, same things as per another machine.
I’m using a Laptop w windows 2016 fully patched.
I’ve install containers and Hyper-v feature

Thanks a lot
Jasmin


#2

I face with similar issue but on Windows Sever 2019.

VERBOSE: Using the provider 'DockerMsftProvider' for searching packages.
VERBOSE: Download size: 0.01MB
VERBOSE: Free space on the drive: 9441.96MB
VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json to C:\Users\ADMINI~1\AppData\Local\Temp\3\DockerMsftProvider\DockerDefault_DockerSearchIndex.json
VERBOSE: About to download
VERBOSE: Finished downloading
VERBOSE: Downloaded in 0 hours, 0 minutes, 0 seconds.
VERBOSE: Performing the operation "Install Package" on target "Package 'Docker' version '18.09.3' from 'DockerDefault'.".
VERBOSE: Updating the docker installation.
VERBOSE: Unregistering the docker service
VERBOSE: Removing the docker files
VERBOSE: Removing the path variable
VERBOSE: Download size: 34MB
VERBOSE: Free space on the drive: 9506.32MB
VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/docker-18-09-3.zip to C:\Users\ADMINI~1\AppData\Local\Temp\3\DockerMsftProvider\Docker-18-09-3.zip
VERBOSE: About to download
VERBOSE: Finished downloading
VERBOSE: Downloaded in 0 hours, 0 minutes, 19 seconds.
VERBOSE: Verifying Hash of the downloaded file.
VERBOSE: Hash verified!
VERBOSE: Found C:\Users\ADMINI~1\AppData\Local\Temp\3\DockerMsftProvider\Docker-18-09-3.zip to install.
VERBOSE: Trying to unzip : C:\Users\ADMINI~1\AppData\Local\Temp\3\DockerMsftProvider\Docker-18-09-3.zip
VERBOSE: Preparing to expand...
VERBOSE: Created 'C:\Program Files\docker\docker.exe'.
VERBOSE: Created 'C:\Program Files\docker\vcruntime140.dll'.
VERBOSE: Created 'C:\Program Files\docker\licenses.txt'.
VERBOSE: Created 'C:\Program Files\docker\libeay32.dll'.
VERBOSE: Created 'C:\Program Files\docker\ssleay32.dll'.
VERBOSE: Created 'C:\Program Files\docker\libwinpthread-1.dll'.
VERBOSE: Trying to enable the docker service...
VERBOSE: Removing the archive: C:\Users\ADMINI~1\AppData\Local\Temp\3\DockerMsftProvider\Docker-18-09-3.zip
Install-Package : Cannot rename because item at 'C:\Program Files\dummyName' does not exist.
At line:1 char:1
+ Install-Package -Name docker -ProviderName DockerMsftProvider -Requir ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage