-
Notifications
You must be signed in to change notification settings - Fork 553
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
Clarify process.terminal
semantics.
#494
Comments
On Wed, Jun 08, 2016 at 06:24:07AM -0700, Aleksa Sarai wrote:
I agree that the current wording is unclear 1. And I see no reason
|
While we are talking about this, should this be an option in the spec or just something that is dynamic at runtime if the user passes a --tty and/or --console flag? |
On Fri, Jun 10, 2016 at 10:55:18AM -0700, Michael Crosby wrote:
For third-party config authors, that's “does this matter inside the
|
Fixed by #518? Or is this still blocking on what the property means
for other OSes? Or something else?
|
After our discussion on the OCI call last Wednesday, we decided that the field should be kept as a declaration of the process of the container requires a terminal to be used. Also the changes referenced to runc have been resolved with the console PRs. I think this can be closed as resolved now, if I'm wrong please re-open. |
Currently we just say the following:
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 newpty
" means that we shoulddup(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).
The text was updated successfully, but these errors were encountered: