Aaron Ash

    Aaron Ash

    6 months ago
    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
    Anna Geller

    Anna Geller

    6 months ago
    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:
    prefect agent docker start --network prefect-server --label docker