Bradley Hurley
01/14/2022, 3:22 PMhost.docker.internal
. I dug into the source and realize the IP only gets set properly if the sys.platform
starts with linux
. My host machine is OSX, but docker is running on Linux. Here is my prefect agent start command
prefect agent docker start -b <tcp://192.168.64.2:2375> -l bh-docker --network prefect-server --log-level DEBUG --show-flow-logs --no-pull
export DOCKER_HOST=<tcp://192.168.64.2:2375>
and then docker works as if it was running on my local machineKevin Kho
01/14/2022, 3:38 PMBradley Hurley
01/14/2022, 3:41 PM-b
flag, but outside adding a new cli option Im not sure there is a great solution.