I have been working with docker in Windows Server 2016 only for the last two weeks. I am trying to run a html file using
microsoft/windowsservercore (docker image)
After I execute the command
docker run -it --name CoreServerCMD microsoft/windowsservercore cmd.exe
the execution hangs and do not return.
please help this is image reference:
Error
You are running the 'docker run' command with '-it' flag. You need to include '-d' flag instead of '-it'.
Adding to Avik Aggarwal answer, even with -d
flag didn't work for me. Increasing Docker's RAM (resources) in Settings solved the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With