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
Following the example in the README to separate stdout and stderr for docker.run, after the promise resolves or the callback is called, the streams are closed. This shuts off the entire process' outputs. A subsequent call to docker.run in the same fashion will eventually crash the process with ERR_STREAM_WRITE_AFTER_END, since stdout and stderr were closed.
The text was updated successfully, but these errors were encountered:
this doesn't really seem to be dockerode's fault fyi, process.stdout/err don't get closed when you pipe to them, only when you explicitly call end(). Like, even if you use
At least the README should be updated, maybe to match your sample, because if example usage ends up causing bad behaviour then it makes for a poor example.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Open a new issue if needed.
Following the example in the README to separate stdout and stderr for docker.run, after the promise resolves or the callback is called, the streams are closed. This shuts off the entire process' outputs. A subsequent call to docker.run in the same fashion will eventually crash the process with ERR_STREAM_WRITE_AFTER_END, since stdout and stderr were closed.
The text was updated successfully, but these errors were encountered: