Docker - docker events command

by
Jeremy Canfield |
Updated: May 25 2021
| Docker articles
The docker events command, as the name suggests, can be used to view Docker events.
docker events
Here is an example of what could be returned.
2021-05-25T02:56:20.908405495-05:00 container start cb23d45df6cb3b5ab8cf13cb72919a6a6759b5888e5ba56bffe706a453b678b0 (com.docker.stack.namespace=foo,
com.docker.swarm.node.id=klu2goyxh3g0vhnyvb8c0v15i,
com.docker.swarm.service.id=rycaethva3f2g95xw5o4ederl,
com.docker.swarm.service.name=foo_foo,
com.docker.swarm.task=,
com.docker.swarm.task.id=xbwxi7ru8wnffli8fua4308v6,
com.docker.swarm.task.name=foo_foo.1.xbwxi7ru8wnffli8fua4308v6,
com.docker.ucp.collection=bc76b695-c569-40b0-997c-452f3923c5b4,
com.docker.ucp.collection.bc76b695-c569-40b0-997c-452f3923c5b4=true,
com.docker.ucp.collection.private=true,
com.docker.ucp.collection.root=true,
com.docker.ucp.collection.shared=true,
com.docker.ucp.collection.swarm=true,
image=registry.example.com/foo/foo:0.14.7@sha256:eb524021e92ac2fd783ed4319ce65858f04b65397476a7442a2e88f919d6d66e,
name=foo_foo.1.xbwxi7ru8wnffli8fua4308v6)
Did you find this article helpful?
If so, consider buying me a coffee over at