Skip to content

runc exec -d with --tty too fast #1302

@crosbymichael

Description

@crosbymichael

With the new tty functionality if you are using --console-socket on runc exec, because exec has no create/start there is no way to get the console before a command like true exits or echo hi and get the output because the command will exit before runc returns the console master to the caller.

We need the sending of the console to block on the caller reading the master instead of continuing. I think its is because runc uses two sockets, one from the child to parent, and one for runc to its caller.

@cyphar can we just use one socket for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions