<@ULVA73B9P> when using pull_docker_image or creat...
# ask-marvin
d
@Marvin when using pull_docker_image or create_docker_container is there something I can specify that not cached image is used?
m
There doesn't seem to be a direct Prefect-specific configuration to avoid using a cached Docker image when using
pull_docker_image
or
create_docker_container
. However, in general Docker practices, you can bypass the cache by using the
--no-cache
option when building an image, though this would be more relevant for the build-push phase rather than pulling or creating containers directly. For related Docker image caching options, you might need to look at Docker's own documentation or consider handling cache invalidation via docker commands or settings outside Prefect. For more detailed information, you can refer to Prefect’s CI/CD guide on using Docker with caching in GitHub Actions.