Uh oh!
There was an error while loading. Please reload this page.
docker-compose events - #2392
Merged
Merged
Conversation
dnephinforce-pushed
the
docker_compose_events
branch
from
November 13, 2015 21:47
b531c90 to
244dc60Comparednephinforce-pushed
the
docker_compose_events
branch
from
November 21, 2015 00:31
244dc60 to
1cc24f1Comparednephinforce-pushed
the
docker_compose_events
branch
from
November 23, 2015 20:01
1cc24f1 to
a6b303eComparednephinforce-pushed
the
docker_compose_events
branch
from
January 7, 2016 18:22
a6b303e to
20b6486CompareSigned-off-by: Daniel Nephin <dnephin@docker.com>
dnephinforce-pushed
the
docker_compose_events
branch
from
January 8, 2016 23:07
20b6486 to
f843616Comparednephin
commented
Jan 8, 2016
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
dnephin
commented
Jan 11, 2016
Author
I've noticed that I have to use |
Signed-off-by: Daniel Nephin <dnephin@docker.com>
dnephinforce-pushed
the
docker_compose_events
branch
from
January 11, 2016 16:51
f843616 to
d3cd038Comparednephin
commented
Jan 11, 2016
Author
Ok, I've added the |
aanand
commented
Jan 12, 2016
Nice. Tested locally, looks great. LGTM |
CodeTahoe
commented
Jan 12, 2016
@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 freeto 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?