A pull policy returning false currently disables forced refreshes but still pulls missing images. CI systems that preload images cannot enforce local-only execution, including for helpers such as Ryuk.
Could we add TESTCONTAINERS_PULL_POLICY=never to use local images and fail before registry authentication or pulls if an image is unavailable? It should cover helper containers and leave defaults unchanged. This is an image-pull restriction, not general network isolation or an offline Docker build mode.
Related: #1122 addressed unnecessary registry access for existing images; this would also prohibit pulling missing images.
A pull policy returning
falsecurrently disables forced refreshes but still pulls missing images. CI systems that preload images cannot enforce local-only execution, including for helpers such as Ryuk.Could we add
TESTCONTAINERS_PULL_POLICY=neverto use local images and fail before registry authentication or pulls if an image is unavailable? It should cover helper containers and leave defaults unchanged. This is an image-pull restriction, not general network isolation or an offline Docker build mode.Related: #1122 addressed unnecessary registry access for existing images; this would also prohibit pulling missing images.