Skip to content
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

Restore exec stream #760

Open
JairZijp opened this issue Feb 27, 2024 · 0 comments
Open

Restore exec stream #760

JairZijp opened this issue Feb 27, 2024 · 0 comments

Comments

@JairZijp
Copy link

Is it possible to restore an exec output stream?

When starting an exec in a container it returns stream.Duplex with which I'm reading the output of the exec.
Is it possible to get access to this stream after a restart of my script when the exec is still running?

I've tried creating a new Exec instance and doing a start() on that, to try to get the stream, but that gives me the error:
can only start created exec sessions, while container <id> session <id> state is "stopped": exec session state improper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant