Usage: events [options] [SERVICE...]
Options:
--json Output events as a stream of json objects
使用该--json
标志,每行将打印一个 json 对象,其格式为:
{ "service": "web", "event": "create", "container": "213cf75fc39a", "image": "alpine:edge", "time": "2015-11-20T18:01:03.615550",}