BitsOnNano.Exe Has Stopped Working Error

You might get this error message when trying to Install Docker on Windows server Core 2016 Server Insider version.To fix this error, Install Docker manually using the code below and not using PS direct

$version = (Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/docker/docker/master/VERSION).Content.Trim()

Invoke-WebRequest "https://master.dockerproject.org/windows/x86_64/docker-$($version).zip" -OutFile "$env:TEMP\docker.zip" -UseBasicParsing

Expand-Archive -Path "$env:TEMP\docker.zip" -DestinationPath $env:ProgramFiles -Force

$env:path += ";$env:ProgramFiles\Docker"

$existingMachinePath = [Environment]::GetEnvironmentVariable("Path",[System.EnvironmentVariableTarget]::Machine)

[Environment]::SetEnvironmentVariable("Path", $existingMachinePath + ";$env:ProgramFiles\Docker", [EnvironmentVariableTarget]::Machine)

dockerd --register-service

Start-Service Docker

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.