salt.engines.docker_events
Send events from Docker events :Depends: Docker API >= 1.22
-
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/
salt.engines.docker_events.start(docker_url='unix://var/run/docker.sock', timeout=60, tag='salt/engines/docker_events', filters=None)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/engines/all/salt.engines.docker_events.html