-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows remote breaks with stdout redirection. #11444
Comments
This same issue is reproduced in releases as far back as 2.0.2. podman-remote-windows from 2.0.1 and 2.0.0 handle redirection correctly. 1.x.x releases fail to start on Windows (known fixed issue #6558). |
This bug also prevents podman from working in alternative Windows consoles such as ConEmu or MSYS2/MingW console:
|
Fix #11444: remote breaks with stdout redirection
Hello, I have the same error (that was preventing the creation of volume to work in podman-compose) I see that there were a merge pull request, but I'm not sure I understand when will this be ready, do we need to wait for next release ? or is there already a version that we can install with the fix ? (And thank you for the fix !) |
podman 3.4 rc1 is just being cut. |
@lsm5 this seem to be only available in Rawhide. Can we get builds for f34? |
`setConsoleMode` should do nothing if the handle is not a terminal. The proposed change is [exactly what `golang.org/x/term/IsTerminal()` does on Windows](https://cs.opensource.google/go/x/term/+/6886f2df:term_windows.go). [NO TESTS NEEDED] Signed-off-by: Anton Tykhyy <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
On Windows, redirecting output from
podman run
results in an error.Steps to reproduce the issue:
podman.exe help version | more
Describe the results you received:
Error string:
Describe the results you expected:
Help about the command:
Additional information you deem important (e.g. issue happens only occasionally):
podman run
; the bug is also reproducible in that situation.Output of
podman version
:(I don't believe the server version matters here;
podman help version
shouldn't need a server.)Output of
podman info --debug
:(This is probably irrelevant)
Package info (e.g. output of
rpm -q podman
orapt list podman
):On the server side, which isn't needed to reproduce:
The client is freshly downloaded from https://github.com/containers/podman/releases/download/v3.3.0/podman-remote-release-windows.zip
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes (just the client)
Additional environment details (AWS, VirtualBox, physical, etc.):
Windows 10 / WSL2 (using PowerShell and cmd.exe)
The text was updated successfully, but these errors were encountered: