Akash N
07/09/2025, 7:28 AMMarvin
07/09/2025, 7:28 AMMarvin
07/09/2025, 7:30 AMDockerImage
configuration when setting up your deployment. For example:
python
from prefect.infrastructure import DockerImage
docker_image = DockerImage(
image="your-image-name:tag",
# Additional Docker-specific configurations can be provided here
)
3. The pulling behavior integrates with Docker's standard authentication mechanisms, so:
- Public images will be pulled automatically
- Private images will require appropriate authentication (via Docker login or configured credentials)
For the most up-to-date and detailed information about Docker-based deployments, you can refer to the Docker infrastructure documentation.
Keep in mind that if you're using custom Dockerfiles with your deployments, Prefect will handle building and managing those images according to your deployment configuration. The pulling behavior for base images used in your Dockerfiles follows the same Docker conventions.