1

I am exploring docker and I've been using Windows Powershell ISE to run docker commands. I have come across situation where I run certain commands in Powershell but they appear to be stuck, but when I run the same docker command on Command Prompt they work fine. I am using the same machine but different command line tools. Why do certain docker command work in powershell and some don't? The below are just some examples. While most work, some don't appear to be working.

Example 1) docker system prune

In powershell I expected a message like I do in the command prompt below, but it appears to be hanging.

enter image description here

enter image description here

Example 2) docker exec -ti containerName bash

In CMD Prompt, I am able to jump into my running container but not in Powershell

enter image description here

enter image description here

2
  • 1
    Perhaps you are using Powershell-ISE, which is not supported by docker...: github.com/docker/for-win/issues/223 Commented Mar 9, 2019 at 9:25
  • thanks. It appears PowerShell is, but not PowerShell ISE Commented Mar 9, 2019 at 9:30

1 Answer 1

5

Docker does not support Powershell-ISE: https://docs.docker.com/docker-for-windows/

Sign up to request clarification or add additional context in comments.

1 Comment

thanks, I can now see its officially not supported.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.