Does anyone know how to have Prefect running locally in Docker, and then build a flow with a custom Dockerfile? Would that involve a container (the flow) running inside another container (Prefect)?
William
10/06/2024, 1:33 AM
Actually I think I fundamentally misunderstood. Perfect running in Docker is distinct from deploying an image and then running it in a Docker worker.
William
10/06/2024, 7:51 AM
The real subtlety was specifying the
networks
param in the
Work Pool
. If you need to connect to other Docker services running locally, you must specify a
network
in your
Work Pool
:
1. In the UI, go to your Work Pool
2. Click the three dots and go to
Edit
3. On the config page, scroll down to
Networks
4. Add the name(s) of your Docker networks in quotes, in a bracketed list, e.g.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.