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

Get separate output for stdout/stderr on "run" #58

Closed
sreuter opened this issue Apr 24, 2014 · 0 comments
Closed

Get separate output for stdout/stderr on "run" #58

sreuter opened this issue Apr 24, 2014 · 0 comments

Comments

@sreuter
Copy link

sreuter commented Apr 24, 2014

I'm looking into ways to get demuxed log output (stdout/stderr) for a "run" call.

As docker.run() takes a destination stream for logging, it may be possible to provide an instance of container.modem.demuxStream(), which get feed by separate streams for stdout/stderr beforehand. While achieving this from the outside might be possible for the user, it would be far from convenient in practice. See example

From my point of view, two options should be added to the "run" functionality

  • Allow providing two separate destinations streams for stdout/stderr
  • Allow user to get buffered version of different logout outputs
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