In one of my projects I need to catch certain events for example when a new task of a service in a docker swarm cluster is started, stopped etc. Unfortunately I have no clue if there is an option to do so.
I know that you can catch general container starts and stops but with that you can only catch these events on the local node, right?
Is there an option to catch task starts / stops and if not: Are there any workarounds?
Thanks in advance