Docker Community Forums

Share and learn in the Docker community.

Create webhook using localhost


(Donmichael) #1

I have a server in localhos, for automatic docker deployment.
(server code: https://github.com/schickling/docker-hook)
For testing reason, I want to add localhost:8555 as a new webhook in docker dashboard.
When I press the add button docker send me a 400 response and webhook isnt created
Have you any idea?
Thanx


(Jeff Anderson) #2

Hello,

The webhook feature won’t be able to reach in to your own computer’s localhost-- it must be given a globally reachable dns name or ip address.

Cheers!


(Donmichael) #3

Yeah, you are absolutely right, my mistake.
I was confused, by some third-party apps, in which you provide a return url. But docker is different.
Thanx