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",}