Complete the command to start monitoring Docker events in real-time.
docker [1] eventsThe docker events command streams real-time events from the Docker daemon.
Complete the command to filter Docker events by container ID.
docker events --filter 'container=[1]'
The filter option requires the container ID to show events related to that container only.
Fix the error in the command to show Docker events for a specific type.
docker events --filter 'type=[1]'
The correct filter value for event type is singular like 'container', not plural.
Fill both blanks to filter Docker events by type and action.
docker events --filter 'type=[1]' --filter 'event=[2]'
Use 'container' for the type and 'start' for the event action to see container start events.
Fill all three blanks to create a command that filters Docker events by type, action, and container ID.
docker events --filter 'type=[1]' --filter 'event=[2]' --filter 'container=[3]'
This command filters events for a container with ID 'abc123def' when it stops.