conmon
conmon copied to clipboard
conmon doesn't forward errors from runtime
continuing conversation here
I have confused why drain mainfd_stderr after finishing drain mainfd_stdout? If mainfd_stdout has continuous data, mainfd_stderr will not be sync? https://github.com/containers/conmon/blob/master/src/ctr_stdio.c#L86
I can't think of a reason to leave it that way. Are you running into an issue where reading stdout may be blocking reading stderr?
I have confused why drain mainfd_stderr after finishing drain mainfd_stdout? If mainfd_stdout has continuous data, mainfd_stderr will not be sync? https://github.com/containers/conmon/blob/master/src/ctr_stdio.c#L86
It's my mistake. This routing will run after container exit.