Regardless of how you execute your prefect flow deployments (process, docker, etc...) my current understanding is that you still need to run a prefect agent somewhere. We're currently running the agent on a virtual machine and it's executing our flows in docker containers. I imagine you could add a prefect agent setting to your docker-compose configuration, but I don't currently know if prefect supports docker-in-docker at the moment.