1
0
mirror of https://github.com/docker/cli.git synced 2026-01-15 07:40:57 +03:00
Files
cli/components/engine/docs/sources/commandline/command/events.rst
Thijs Terlouw a2a878343d Add 2 missing cli commands to docs (events + insert) and alphabetically order docker output
Upstream-commit: 6380b42edbf98dec3b04b3b74fcfbfd63dba4034
Component: engine
2013-09-03 16:35:22 +02:00

854 B

title
Events Command
description
Get real time events from the server
keywords
events, docker, documentation

events -- Get real time events from the server

Usage: docker events

Get real time events from the server

Examples

Starting and stopping a container

$ sudo docker start 4386fb97867d
$ sudo docker stop 4386fb97867d

In another shell

$ sudo docker events
[2013-09-03 15:49:26 +0200 CEST] 4386fb97867d: (from 12de384bfb10) start
[2013-09-03 15:49:29 +0200 CEST] 4386fb97867d: (from 12de384bfb10) die
[2013-09-03 15:49:29 +0200 CEST] 4386fb97867d: (from 12de384bfb10) stop