Docker agent cannot communicate with a Prefect Server Postgres database instance running locally on a host VM

If all of the above explanations didn’t help, please share:

  • how did you define your Server start-up command,
  • your Docker agent full startup command,
  • and your flow definition (incl. your DockerRun) so that I can try to reproduce it.

Also note that the Docker agent itself shouldn’t be created within a container, but rather a local process: