Matthew Cloney
10/31/2022, 5:23 PMDockerfile
I'm unable to connect to the UI from my local no matter what I try. I've tried @Cole Murrayās suggestion of mapping port 4200, passing --network host
, etc. but I'm getting "Empty reply from server" when I try to curl it. This is the full docker run
command I'm running, TIA for any suggestions!
docker run --rm --name prefect -p 4200:4200 prefecthq/prefect:dev-python3.7 prefect orion start
Ryan Peden
10/31/2022, 5:32 PMPREFECT_ORION_API_HOST
environment variable to 0.0.0.0. Otherwise it starts up on 127.0.0.1, which won't be visible outside the container.docker run --rm --name prefect --env PREFECT_ORION_API_HOST=0.0.0.0 -p 4200:4200 prefecthq/prefect:dev-python3.7 prefect orion start
Matthew Cloney
10/31/2022, 5:36 PM0.0.0.0
but wasn't sure of the exact environment variable to pass. Works like a charm, thanks!Zanie
11/02/2022, 6:47 PMprefect orion start
command with the --host
parameter š