Hi :wave: , Why is it suggested in the docs to kee...
# prefect-community
n
Hi 👋 , Why is it suggested in the docs to keep an agent (and I guess a server) running via supervisord instead with systemd? Does anyone know?:) https://docs.prefect.io/orchestration/tutorial/multiple.html#install-a-supervised-agent
d
No specific reason! I think we found suporvisord and liked it
👍 1
n
Thanks, @Dylan
d
You bet!
p
When running a docker agent, do you also recommend using
suvervisord
or is there a docker native way of running the agent so that it will restart if it crashes?
d
@Pedro Machado the docker agent is I believe also just a process. Instead of running a flow from a file, it pulls a docker container from a registry and calls
run
on that container. If you were to install a docker agent on a vm, I would recommend using the instructions above
However, if you’re already there, I would recommend checking out Kubernetes or Fargate for running production Flows.
p
Thanks, Dylan. In this particular case, we have little infrastructure support so we are going the Docker agent route running on a VM. At some point, I'd like to explore one of the other options. Thanks again!