You can use webhooks to cause an action in a service in response to a push event in a repository. Webhooks are POST requests sent to a URL you define in Docker Hub or another registry.

Enable Service Webhook

To enable a webhook for a service, go to Services, click in the service you want to set up the Webhook, and enable the toggle Service Webhook.


After you enable the toggle you will see the URL to configure your webhook in Docker Hub or another repository. do a click in copy to get the full URL.



Here, you can find a few examples to understand how easy is to trigger the webhook.


<form action="" method="post">
  Redeploy with latest image of same tag <input type="submit" />

Update Service with another tag

<form action="" method="post">
  Update Service image with different tag <input type="submit" />

Configuring the Webhook in Docker Hub

To see how to complete the configuration in Docker Hub, click here.


Contribute to these docs