Skip to content

Commit

Permalink
Merge pull request #432 from lukahartwig/docs-add-docker-events-examples
Browse files Browse the repository at this point in the history
Added docker events example with until option to documentation
  • Loading branch information
Vincent Demeester authored Aug 14, 2017
2 parents 53d8886 + f959ac7 commit b8d325e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/reference/commandline/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@ $ docker events --since '10m'
2017-01-05T00:36:09.840186338+08:00 container die 0fdb...ff37 (exitCode=143, image=alpine:latest, name=test)
2017-01-05T00:36:09.880113663+08:00 network disconnect e2e...29e2 (container=0fdb...ff37, name=bridge, type=bridge)
2017-01-05T00:36:09.890214053+08:00 container stop 0fdb...ff37 (image=alpine:latest, name=test)

$ docker events --since '2017-01-05T00:35:30' --until '2017-01-05T00:36:05'
2017-01-05T00:35:41.241772953+08:00 volume create testVol (driver=local)
2017-01-05T00:35:58.859401177+08:00 container create d9cd...4d70 (image=alpine:latest, name=test)
2017-01-05T00:36:04.703631903+08:00 network connect e2e1...29e2 (container=0fdb...ff37, name=bridge, type=bridge)
2017-01-05T00:36:04.795031609+08:00 container start 0fdb...ff37 (image=alpine:latest, name=test)
```

### Filter events by criteria
Expand Down

0 comments on commit b8d325e

Please sign in to comment.