Send events from Docker events :Depends: Docker API >= 1.22
salt.engines.docker_events.
start
(docker_url='unix://var/run/docker.sock', timeout=60, tag='salt/engines/docker_events', filters=None)¶Scan for Docker events and fire events
Example Config
engines:
- docker_events:
docker_url: unix://var/run/docker.sock
filters:
event:
- start
- stop
- die
- oom
The config above sets up engines to listen for events from the Docker daemon and publish them to the Salt event bus.
For filter reference, see https://docs.docker.com/engine/reference/commandline/events/