Hi! I am wondering what the best practice is for u...
# ask-community
a
Hi! I am wondering what the best practice is for using Docker with Prefect. I am currently using a VM on Azure as a Prefect Agent, and then I use DockerContainer as infrastructure. Would it not be better to run the agent in a dockercontainer directly, and use regular python process as infrastructure? Now there is a bit of setup to do to enable running the Prefect agent on a VM (install python/prefect etc.)
s
There are many ways you can go about this practice. The docker docs outlines your pattern above as well as the recipe repo allows you to explore other docker managed cd practices