Docker on Windows Server

Copper Contributor

Hello there,

I've been dealing with an issue recently, that whenever I try to install Docker daemon on Windows Server 2016, I get this error:

Capture.png

 

I've already installed the Hyper-V role and the Containers feature, and I'm trying to use these cmdlets to have Docker on the server:

Install-Module -Name dockermsftprovider -Repository psgallery -Force
Install-Package -Name docker -ProviderName dockermsftprovider

By the way, I'm using a standalone server in a Hyper-V environment.
I'm eagerly looking forward to hearing any possible solution.

2 Replies

Are you sure you are using the right package name? You can search for the package by running the following one-liner:

get-package | Where-Object -Property name -Like *docker*

Haven't checked on a Server 2016 machine, but on my Windows 10 the package is called Docker for Windows. Don't use docker containers in production at the moment, so it would take a while for me to check ;)

Hello and thanks for your response;

Well, I assume there is a package with such name :)

Capture1.png

btw, is there any way to download packages manually?