Docker Community Forums

Share and learn in the Docker community.

After running container by "docker run", powershell window does not accept commands

Expected behavior

After running container by “docker run”, powershell window should accept commands

Actual behavior

After running container by “docker run”, powershell window does not accept commands

Information

Service ‘w3svc’ has been stopped

Service ‘w3svc’ started

Steps to reproduce the behavior

I pulled container microsoft/iis by docker pull microsoft/iis command.
Runed this containet by docker run -it microsoft/iis command powershell
Afther that, i saw information:

Service ‘w3svc’ has been stopped

  • Service ‘w3svc’ started*

After that, powershell windows does not accept any command - when i try to type something in powershell windows where i runed container - nothing is types in the window.
How to resolve the problem ?