Docker Swarm – Subscription to container creation

I’ve got a Swarm manager and 3 workers.

I’d like to write a python script that subscribes to changes that are made with Swarm (for example, getting an alert once a container is being created and running, or getting an alert once a container is stopped).

  • Resolve docker-compose container names from host machine
  • How to configure docker to use /opt instead of /var
  • Error with Loadbalancing, Websockets and NodeJS
  • Fig volumes don't mount properly
  • How to set no-ack for RabbitMQ with docker?
  • How can I deploy to a specific app with heroku docker:release?
  • Is it possible?

    Thanks,
    Efrat

  • Can't use tc in docker container
  • Docker/Rails - Permission denied @ dir_s_mkdir Errno::EACCESS
  • Build multiple images from multiple dockerfile
  • Docker running nginx plus jar
  • How to escape CMD in Dockerfile
  • Types of errors docker in Windows?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.