You can use webhooks to trigger 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 on the service you want to set up the Webhook for, 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. Click the copy button to get the full URL.



Here, you can find a few examples to understand how easy it 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