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).

  • Docker FATAL: could not write lock file “postmaster.pid”: No space left on device
  • Why can “docker-compose run” create files outside the container?
  • Unable to inject system logs into logstash container
  • pyftpdlib Networkprotocol Error
  • Single Docker Image with multiple Softwares or Separate images for separate software
  • mongo disconnect after connecting to executing thru shell in docker
  • Is it possible?

    Thanks,
    Efrat

  • Is s3fs not able to mount inside docker container?
  • docker connect from container to public ip of host
  • Docker compose bind container to interface
  • Not able to execute RUN commands in Dockerfile
  • How to save application state in Marathon?
  • Dockerode works with node, but not via Webpack
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.