Skip to content
mikesagerPublic
forked from instacart/ahab

About

Docker event handling with Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Ahab

ahab.png

It's easy to install Ahab:

pip install ahab

To get detailed information about Docker events from the command line:

ahab --console debug

To use Ahab as library, you can pass functions to the Ahab() constructor:

def f(event, data):
    pass        # Handle the Docker event (and extended info, as available)


ahab = Ahab(handlers=[f])
ahab.listen()

Or subclass Ahab:

class Queequeg(Ahab):
    def handle(self, event, data):
        pass                                               # Your code here

About

Docker event handling with Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages