Public | Automated Build

Last pushed: 2 months ago
Short Description
Web hook handler for docker
Full Description


Listen for web hooks (i.e: from builds) and run a command after that.


If you use (or any similar service) to build your Docker container, it may be possible that, once the new image is generated, you want your Docker host to automatically pull it and restart the container. gives you the possibility to set a web hook after a successful build. Basically it does a POST on a defined URL and send some informations in JSON format.

docker-puller listen to these web hooks and can be configured to run a particular script, given a specific hook.

Example web hook

In setup a web hook with an URL like this:

Example docker-puller configuration

    "port": 8000,
    "token": "abc123",
    "hooks": {
        "myhook1": ""

Example docker container launch

docker run -t -i --name webhook -p 8000:8000 -v scripts:/root/dockerpuller/scripts -v config.json:/root/config.json xorilog/docker-webhook

Docker Pull Command
Source Repository