Docker Run command freezes without any error

I have been working with docker in Windows Server 2016 only in the last two weeks. I am trying to run an html file using

microsoft/windowsservercore (docker image) 

After executing the command

" docker run -it --name CoreServerCMD microsoft/windowsservercore cmd.exe "

execution freezes and does not return.

Please help, this is a link to an image:

Error

+7
source share
1 answer

This is not a mistake: the docker image is downloaded from the docker hub. According to https://hub.docker.com/r/microsoft/windowsservercore/tags/ the image size is 5 GB, so it takes a lot of time to load it. I suggest you wait at least an hour, depending on your broadband connection.

Update after feedback: it seems that this is not exactly the problem the author encountered - the answer provided works for other operating systems except Windows. See comments for more details.

+1
source

Source: https://habr.com/ru/post/1271604/


All Articles