docs/terminals.md: explain pipes in detached pass-through mode by kolyshkin · Pull Request #5527 · opencontainers/runc · GitHub
Skip to content

docs/terminals.md: explain pipes in detached pass-through mode - #5527

Open
kolyshkin wants to merge 1 commit into
opencontainers:mainfrom
kolyshkin:docs-1721
Open

kolyshkin wants to merge 1 commit into
opencontainers:mainfrom
kolyshkin:docs-1721

Conversation

@kolyshkin

@kolyshkin kolyshkin commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

The note about the "known problem" with pipes in detached pass-through mode (referencing #1721) is misleading: the container does not hang, and it is not a temporary issue. Rather, the reader of the pipe does not get EOF while the container process (which holds the write end of the pipe) is alive, which is normal pipe semantics.

Replace the note with an explanation, including a hint for Go's os/exec users.

See #1721 (comment) for details.

Fixes #1721.

The note about the "known problem" with pipes in detached pass-through
mode is misleading: the container does not hang, and it is not
a temporary issue. Rather, the reader of the pipe does not get EOF while
the container process (which holds the write end of the pipe) is alive,
which is normal pipe semantics.

Replace the note with an explanation, including a hint for Go's os/exec
users.

Fixes opencontainers#1721.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

runc create hangs when passed a pipe for stdout or stderr

1 participant