Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

[WIP]use fifo files in non-console io mode #483

Closed
wants to merge 1 commit into from

Conversation

Crazykev
Copy link
Contributor

Ref: #481
The original design use current progress' stdio and pass them to
containerd in create stage. This will lead to -d flag behave wired,
since you've already passed stdin to container.

This PR enable two phase io connection use fifo pipes. In create stage,
create three named fifo files as stdio passed to container. In start
stage, open these three files and bind them with stand input/output
using io.Copy()

/cc @laijs

Signed-off-by: Crazykev [email protected]

The original design use current progress' stdio and pass them to
containerd in create stage. This will lead to `-d` flag behave wired,
since you've already passed stdin to container.

This PR enable two phase io connection use fifo pipes. In create stage,
create three named fifo files as stdio passed to container. In start
stage, open these three files and bind them with stand input/output
using `io.Copy()`

Signed-off-by: Crazykev <[email protected]>
@Crazykev Crazykev changed the title use fifo files in non-console io mode [WIP]use fifo files in non-console io mode Apr 11, 2017
@laijs laijs closed this Apr 15, 2017
@laijs laijs reopened this Apr 15, 2017
@laijs
Copy link
Contributor

laijs commented Aug 3, 2017

#537 is merged, could you check if the problem is fixed please?

@laijs laijs closed this Aug 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants