What does "docker events" allow you to do, and how might it be used in monitoring or automation?
Correct! Well done.
Incorrect.
The correct answer is B) It streams real-time events from the Docker daemon (container start/stop/die, image pull, network create, etc.), which can be consumed by external tools to trigger automated responses, logging, or alerting based on Docker lifecycle changes
Correct Answer
It streams real-time events from the Docker daemon (container start/stop/die, image pull, network create, etc.), which can be consumed by external tools to trigger automated responses, logging, or alerting based on Docker lifecycle changes
"docker events" provides a live stream of daemon-level events, which monitoring/automation tools can subscribe to in order to react to container lifecycle changes (e.g. automatically updating a reverse proxy configuration when containers start/stop).