Run docker container in flow and curl against it
Heya, I'm trying to spin up a docker container as part of a flow and I want to wait for it to be available.
Here's what I have so far, but it doesn't seem to be reachable via cURL from here.
Instead of
0.0.0.0
I've also already tried localhost
and cf-clearance-scraper
.
Container is definitely running and exposing the port correctly:
Any ideas are welcome š Thank you in advance!2 Replies
The docker pull and docker run is connecting to the docker that is running in the host. The '0.0.0.0' address is the address within the container that's running the WM worker.
Yeah, that's what I figured, that's why I tried reaching it by the container name, but didn't had luck. So I ended up just starting the container manually on that same host and attaching it to the same network like windmill and it works.