https://prefect.io logo
s

Sean Talia

02/11/2021, 10:08 PM
has anyone had any experience with running a local server and registering a flow to it from within a docker container?
a

Amanda Wee

02/11/2021, 10:33 PM
Yes, I have run prefect server locally (using
prefect server start
) and ran a docker container with a shell script as the entryscript that creates the projects, registers the flows, then starts a local prefect agent. As it was on a Mac, I set the env var:
Copy code
PREFECT__SERVER__HOST=<http://host.docker.internal>
s

Sean Talia

02/11/2021, 11:26 PM
wow, that was so easy, thank you @Amanda Wee!!
2 Views