diff options
author | Sven Dowideit <SvenDowideit@users.noreply.github.com> | 2015-01-28 11:55:09 +1000 |
---|---|---|
committer | Sven Dowideit <SvenDowideit@docker.com> | 2015-01-28 11:55:06 +1000 |
commit | b9243b08a52191400bc10595c82b8c08b6deeb13 (patch) | |
tree | bae75b5d4027f9cf023eb2a03641ee2cd4666293 | |
parent | 14c5aec6328af0480ab5e54c950e7192b2a09834 (diff) | |
download | docker-b9243b08a52191400bc10595c82b8c08b6deeb13.tar.gz |
Merge pull request #10374 from SvenDowideit/add-ip-range-for-webhooks
tell users they can what IP range Hub webhooks can come from so they can...
(cherry picked from commit de52a1998dbec1b5a7f9e27bcf527971b8df3666)
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@users.noreply.github.com> (github: SvenDowideit)
-rw-r--r-- | docs/sources/docker-hub/builds.md | 4 | ||||
-rw-r--r-- | docs/sources/docker-hub/repos.md | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/docs/sources/docker-hub/builds.md b/docs/sources/docker-hub/builds.md index 5d73e4aae9..8b914fa10c 100644 --- a/docs/sources/docker-hub/builds.md +++ b/docs/sources/docker-hub/builds.md @@ -278,6 +278,10 @@ Webhooks are available under the Settings menu of each Repository. > **Note:** If you want to test your webhook out we recommend using > a tool like [requestb.in](http://requestb.in/). +> **Note**: The Docker Hub servers are currently in the IP range +> `162.242.195.64 - 162.242.195.127`, so you can restrict your webhooks to +> accept webhook requests from that set of IP addresses. + ### Webhook chains Webhook chains allow you to chain calls to multiple services. For example, diff --git a/docs/sources/docker-hub/repos.md b/docs/sources/docker-hub/repos.md index 0749c0814c..2bb75f0b73 100644 --- a/docs/sources/docker-hub/repos.md +++ b/docs/sources/docker-hub/repos.md @@ -105,9 +105,6 @@ Settings page. A webhook is called only after a successful `push` is made. The webhook calls are HTTP POST requests with a JSON payload similar to the example shown below. -> **Note:** For testing, you can try an HTTP request tool like -> [requestb.in](http://requestb.in/). - *Example webhook JSON payload:* ``` @@ -141,6 +138,13 @@ new updates to your images and repositories. To get started adding webhooks, go to the desired repo in the Hub, and click "Webhooks" under the "Settings" box. +> **Note:** For testing, you can try an HTTP request tool like +> [requestb.in](http://requestb.in/). + +> **Note**: The Docker Hub servers are currently in the IP range +> `162.242.195.64 - 162.242.195.127`, so you can restrict your webhooks to +> accept webhook requests from that set of IP addresses. + ### Webhook chains Webhook chains allow you to chain calls to multiple services. For example, |