Docker Community Forums

Share and learn in the Docker community.

Interactive run error - The parameter is incorrect


(Bobbyg) #1

I’ve just started with Docker for Windows 10. Went through some getting started examples yesterday fine. Today, after updating to the latest stable release, I’m getting “The parameter is incorrect” coming up when I try to run containers. They run OK and can be seen with the ps command but they are not interactive.

Here is a simple example:

PS > docker run -it ubuntu bash
The parameter is incorrect.

PS > docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
6541c014737d        ubuntu              "bash"              11 seconds ago      Up 10 seconds                           adoring_hamilton

PS >

My version info is as follows:

Client:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 21:15:28 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.12.0
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   8eab29e
 Built:        Thu Jul 28 21:15:28 2016
 OS/Arch:      linux/amd64

(Bobbyg) #2

I’ve just found that it works ok in the old command prompt but shows the issue above in windows powershell. I guess I just use the command prompt?


(Grant Arnold) #3

I am also having this issue. I can confirm that “-t” doesn’t work in the powershell prompt but does work in command prompt. I am sure this used to work. I tried both the stable and beta installs and both have the same issue.


(Grant Arnold) #4

I just updated my laptop to the Windows 10 Anniversary Update and the problem is fixed there. I can once again run docker containers with the “-t” flag.


(Bobbyg) #5

Rebooting a couple of times may be what fixed it for me. All a bit dodgy.