Docker Trigger
AI-generatedSummary
Monitors Docker daemon events in real-time or replays recent events and emits workflow items when configured resource types and actions occur.
Inputs
- resourceTypes — Filter events to only these resource types (container, daemon, image, network, volume).
- actions — Filter events to only these actions (create, destroy, die, pull, remove, restart, start, stop).
Output shape
A single JSON item per matching Docker event, including event details like type, action, actor ID, and timestamps.
When triggered manually, it replays events since the last run up to 60 seconds, emitting each event as a separate item. In running workflows, it continuously emits events; if the connection drops, it reconnects with exponential backoff.
Examples
Example 1: Real-time monitoring of container lifecycle events
Select 'Container' in Resource Types and 'create', 'start', and 'stop' in Actions.
Example 2: Manual trigger to replay recent events
Execute the node manually without filters to replay events since the last successful run.