Skip to content

Clarify process.terminal semantics. #494

@cyphar

Description

@cyphar

Currently we just say the following:

  • terminal (bool, optional) specifies whether you want a terminal attached to that process. Defaults to false.

While I understand that the spec should be vague on what a "terminal" is, I'm having trouble understanding what runC should do with this flag (maybe @crosbymichael can help clarify this). From my understanding (in the Linux parlance) it means that you don't create a new pty for the container. However, it's not clear if "don't create a new pty" means that we should dup(2) /dev/null over all of the process's stdio file descriptors -- or if it's something more subtle.

I'm tagging this as 1.0 because I feel like it's one of the smaller issues that we probably should clarify a bit (or at least agree on whether or not it even needs clarification).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions