You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
Is there a away to run exec with attached dedicated connection / thread? Specifically how can this be done with passing InputStream for interacting with the exec? I see the execCreate can take attachStdin as an ExecCreateParam, but couldn't find a way to actually provide an InputStream to write into the exec.
My use case is to exec /bin/bash into a running container and then send commands via the InputStream, receive feedback via the OutputStreams provided to the log attach function.
The text was updated successfully, but these errors were encountered:
This has been asked before in the past, and I've generally linked people to Issue #156, where I describe an approach taken to do just that.
The problem is that Apache HttpClient doesn't support this so you only get back an Inputstream despite the fact that the underlying representation supports writing as well.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Is there a away to run exec with attached dedicated connection / thread? Specifically how can this be done with passing InputStream for interacting with the exec? I see the execCreate can take attachStdin as an ExecCreateParam, but couldn't find a way to actually provide an InputStream to write into the exec.
My use case is to exec /bin/bash into a running container and then send commands via the InputStream, receive feedback via the OutputStreams provided to the log attach function.
The text was updated successfully, but these errors were encountered: