Solve interactive problems with docker run and PowerShell ISE

Solve interactive problems with docker run and PowerShell ISE

Q. I'm trying to use docker run interactively with cmd in PowerShell ISE and its not working, what can I do?

A. This seems to be a problem with the PowerShell ISE where an interactive cmd.exe with a docker run does not function. Instead use regular PowerShell CLI windows or a cmd.exe windows. An example to try is:

docker run -it microsoft/windowsservercore cmd.exe

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish