failed to get console mode for stdout: The handle is invalid

Environment details:

  • Windows 10 Pro 1909, os build 18363.1440
  • PyCharm Pro 2020.3.3
  • Docker Desktop 3.2.2 (61853), Engine 20.10.5, Compose 1.28.5

When I run docker-compose up, I see following error:

failed to get console mode for stdout: The handle is invalid.

More details:

>docker-compose up --build
Building XXX
failed to get console mode for stdout: The handle is invalid.
[+] Building 304.5s (16/16) FINISHED

The problem is, I don't see output when image is building

0
5 comments

I observe the same behavior on Windows 10 with IntelliJ IDEA Ultimate 2020.3.3 and Docker Desktop 3.2.2.

0

I am getting the same error with Docker Desktop version 3.2.1

0

The same with Windows 10 & Docker Desktop 3.2.2 (61853) & PhphStorm 2020.3.3

0

Hello, 

not sure if this is IDE specific issue, as there are a number of reports https://github.com/docker/compose/issues/8186, and seems it works OK in  Docker Desktop 3.1.0 . 

0

The issue reproduces again in Docker 4.27.1. Downgrading docker to version 4.26.1 solved the issue.

The issue in Docker 4.27.1 is discussed here: https://github.com/docker/for-win/issues/13891

0

Please sign in to leave a comment.