Can docker-container infrastructure block invoked by a docker-container prefect agent communicate with external resources?

  • Prefect Agent is running as a docker container
  • The docker-container block is what I am using as infrastructure block
  • I cannot access external resources, such as a database, to pull data.

I think I will have to run the Prefect Agent outside a container as its own process, but I would like confirmation.