https://prefect.io logo
Title
j

John

03/31/2023, 7:18 PM
Can Prefect use local docker images? Can Prefect use private docker images?
j

jawnsy

03/31/2023, 7:20 PM
If you’re running in Kubernetes, then as long as the image can be pulled by Kubernetes, then it’ll work (Prefect creates a Job and then the normal Kubernetes machinery handles the rest).
👀 1
j

John

03/31/2023, 7:21 PM
I am not using Kubernetes. 😛
r

Ryan Peden

03/31/2023, 7:27 PM
For plain Docker, the answer is yes to both questions 🙂 Local images should work our of the box - you just need to supply the name and tag of the image you want to use. And there's a Docker registry block you can configure to pull images from private Docker registries.
🙏 1
j

John

03/31/2023, 7:29 PM
Thank you!