-
Notifications
You must be signed in to change notification settings - Fork 126
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
There will be extra characters when podman run with --tty
#195
Comments
thanks for opening the issue @zhangguanzhang! I am not so sure it's that line in particular. if you look at the log line:
we see it's a If you look at that line, it checks I believe this line is from interpreting the terminal pipe as one. I do not think conmon can or should drop these characters. instead, could podman drop these characters if printing the logs @mheon ? |
It happens only for one liner, it is gone in case two lines are printed
|
podman run --rm --tty busybox echo -n 1 | cat -A also works as expected. Seems only the case when output is single line (can be empty) with new line at the end is wrong |
Hm. Tend to agree this is Podman reading the log line incorrectly. |
I think it works as expected. It is the same behavior I get with docker:
|
containers/podman#7196 (comment)
The problem seems to be here
https://github.com/containers/conmon/blob/master/src/ctr_logging.c#L355-L360
@rhatdan PTAL
The text was updated successfully, but these errors were encountered: