https://prefect.io logo
#prefect-server
Title
# prefect-server
a

Aaron Ash

03/21/2022, 5:49 AM
Is it not actually running the flow logic or do the logs not show up on the agent?
The flow_run appears in the UI but just stays in the
Scheduled to start
state
Ah interesting, if i run
prefect agent docker start
in a terminal manually then the flow does actually run
so maybe the docker socket mapping into the docker-compose agent is not working
a

Anna Geller

03/21/2022, 10:26 AM
By default, when you start Prefect Server, Prefect creates a Docker network named
prefect-server
. To allow communication between your Server and a docker agent, you need to add the --network flag:
Copy code
prefect agent docker start --network prefect-server --label docker
👀 1
🙌 1
8 Views