Open major-mayer opened 2 years ago
Same problem here. However, I think it must be a problem with Docker Server because I tested with Docker Desktop and it works. The same command running on the same docker-cli but with podman backend I get no output.
Description I am using Docker in a WSL 2 Ubuntu 22.04 instance and connect to it using a seperate Docker context.
Everything runs fine, however when i run container like this
docker run hello-world
in the Windows Powershell (or CMD, i tried both), there is no error but also no output. The command just finishes like nothing happened. If i execute the same command in the Ubuntu WSL VM it displays the usual hello-world information.Interestingly if i add the
-i
argument to keep the STDIN open, the text also appears, but this is not ideal of course.I wonder where this comes from and how i can solve it. Is there some streams incorrectly redirected?
Steps to reproduce the issue:
docker run hello-world
Describe the results you received: No output is displayed, but also no error.
Describe the results you expected: The usuals hello-world text should be displayed.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):