Home

Docker on Windows Server

%3CLINGO-SUB%20id%3D%22lingo-sub-308692%22%20slang%3D%22en-US%22%3EDocker%20on%20Windows%20Server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-308692%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20there%2C%3C%2FP%3E%3CP%3EI've%20been%20dealing%20with%20an%20issue%20recently%2C%20that%20whenever%20I%20try%20to%20install%20Docker%20daemon%20on%20Windows%20Server%202016%2C%20I%20get%20this%20error%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F64623iBBD6B1A7DE4E9496%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.png%22%20title%3D%22Capture.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20already%20installed%20the%20Hyper-V%20role%20and%20the%20Containers%20feature%2C%20and%20I'm%20trying%20to%20use%20these%20cmdlets%20to%20have%20Docker%20on%20the%20server%3A%3C%2FP%3E%3CPRE%3EInstall-Module%20-Name%20dockermsftprovider%20-Repository%20psgallery%20-Force%3CBR%20%2F%3EInstall-Package%20-Name%20docker%20-ProviderName%20dockermsftprovider%3C%2FPRE%3E%3CP%3EBy%20the%20way%2C%20I'm%20using%20a%20standalone%20server%20in%20a%20Hyper-V%20environment.%3CBR%20%2F%3EI'm%20eagerly%20looking%20forward%20to%20hearing%20any%20possible%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-308692%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EContainers%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-309277%22%20slang%3D%22en-US%22%3ERe%3A%20Docker%20on%20Windows%20Server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-309277%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20and%20thanks%20for%20your%20response%3B%3C%2FP%3E%3CP%3EWell%2C%20I%20assume%20there%20%3CEM%3E%3CSTRONG%3Eis%3C%2FSTRONG%3E%3C%2FEM%3E%26nbsp%3Ba%20package%20with%20such%20name%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20672px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F64734i04F0E32B7CA10ACD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture1.png%22%20title%3D%22Capture1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ebtw%2C%20is%20there%20any%20way%20to%20download%20packages%20manually%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-308900%22%20slang%3D%22en-US%22%3ERe%3A%20Docker%20on%20Windows%20Server%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-308900%22%20slang%3D%22en-US%22%3E%3CP%3EAre%20you%20sure%20you%20are%20using%20the%20right%20package%20name%3F%20You%20can%20search%20for%20the%20package%20by%20running%20the%20following%20one-liner%3A%3C%2FP%3E%3CPRE%3Eget-package%20%7C%20Where-Object%20-Property%20name%20-Like%20*docker*%3C%2FPRE%3E%3CP%3EHaven't%20checked%20on%20a%20Server%202016%20machine%2C%20but%20on%20my%20Windows%2010%20the%20package%20is%20called%20%3CEM%3EDocker%20for%20Windows%3C%2FEM%3E.%20Don't%20use%20docker%20containers%20in%20production%20at%20the%20moment%2C%20so%20it%20would%20take%20a%20while%20for%20me%20to%20check%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Soheil Badri
Occasional 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?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies