Hugo Polloli
07/28/2021, 12:33 PMprefect agent docker start
then docker ps
, I was thinking I'd see a docker agent as a container but I don't, I only have my prefect server. Did I misunderstand something about the "docker" agent or is something wrong with my setup ?Greg Roche
07/28/2021, 12:43 PMThe Docker agent executes flow runs in individual Docker containersNever used it myself but to me that implies that the agent itself isn't running in a docker container, it's running as a standalone process on the machine where you ran
prefect agent docker start
. If the agent gets a flow run to execute, it will spin up a docker container, and inside that container is where the logic for that flow run will execute. This way you could have one agent potentially spinning up many docker containers all running simultaneously.prefect agent local start
on creation). That approach works fine for us and our relatively lightweight setup.Hugo Polloli
07/28/2021, 1:49 PM