Merged
Conversation
b531c90 to
244dc60
Compare
244dc60 to
1cc24f1
Compare
1cc24f1 to
a6b303e
Compare
a6b303e to
20b6486
Compare
Signed-off-by: Daniel Nephin <[email protected]>
20b6486 to
f843616
Compare
Author
|
I've updated this PR, and included an example of using the events to create the often requested "hooks" feature in the description. |
This was referenced Jan 8, 2016
Author
|
I've noticed that I have to use |
Signed-off-by: Daniel Nephin <[email protected]>
f843616 to
d3cd038
Compare
Author
|
Ok, I've added the |
|
Nice. Tested locally, looks great. LGTM |
|
@dnephin re: docs - Maybe it can go in it's own section as "events" under bash completion under the heading of "create multi-container applications" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1510
Adds a new command
eventsfor tailing the event stream for containers in the composition.The event fields match the new api fields being introduced in 1.10 (moby/moby#18888)
This gist shows an example of using these events to create event hooks in under 20 lines of bash:
https://gist.github.com/dnephin/c56b479810f863527e90
Any suggestion on where this can be included in the docs?