DEV Community

Discussion on: Installing the Docker client on Windows Subsystem for Linux (Ubuntu)

Collapse
 
amastrobera profile image
Angelo Mastro

Hi Sebastian,

I did that plus the thing written on another post (adding in bashrc an alias docker=/mnt/c/path/to/docker.exe). When I try to run

docker run -it --rm <myimage> 

I get this error:

the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'

Do you know how to solve this ?

Collapse
 
sebagomez profile image
Sebastián Gómez

Sorry, no I don't. But did you add that alias in the first place? Just install the docker client on WSL via apt-get