Hi guys ! I’m trying to setup a
Prefect Agent
and a
prefect server
on my local computer, everything residing inside of
containers
. My
Prefect Server
`container(s)`is based on the
docker-compose
file retrieved from
prefect server config > server-docker-compose.yaml
. When spinning up a container for an Agent and running
prefect agent local start --api <http://host.docker.internal:4200>
, it says that I must be authenticated to communicate with the containerized server living in my local machine.
My first question is: Is
authentication
mandatory in this kind of situation , for local run ?
When I authenticate by creating a new tenant using
prefect server create-tenant -n default
outside the Agent container, I’m able to spin up the
Agent Container
and run everything. The problem is that I wanted to run the
create-tenant
inside the container too, but it’s not possible as I’m getting connection refused between containers.