Describes how the containerizer redirects I/O for stdin/stdout/stderr of a container.
More...
Describes how the containerizer redirects I/O for stdin/stdout/stderr of a container.
See process::Subprocess::IO
.
NOTE: This wrapper prevents the containerizer from redirecting I/O via a Subprocess::PIPE
. This is restricted because the IO of a container must not be affected by the status of the agent process:
- A
Subprocess::PIPE
will require the agent process to regularly read and empty the pipe. The agent does not do this. If the pipe fills up, the write-end of the pipe may become blocked on IO.
- Redirection must continue even if the agent dies.