How to override the default Ryuk image? #2044
-
I tried both mechanisms for overriding image names (TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX env var and using an ImageSubstitutor implementation) to prefix the Ryuk image name with an internal registry URL. Both methods failed and were completely ignored for the Ryuk image. They worked for the other images we are running, though. I think the issue is most likely caused by the fact that the default Ryuk image is defined as ReaperDefaultImage = "docker.io/testcontainers/ryuk:0.5.1" And that constant includes the How should we do this? If the right way of fixing the issue is changing the default image name to the following, I would be happy to send a PR: ReaperDefaultImage = "testcontainers/ryuk:0.5.1" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @lalloni I guess you are using Could you give it a try with the main branch? 🙏 |
Beta Was this translation helpful? Give feedback.
And PR here: #2046
Thank you for pointing this out!
I guess this is exactly your use case: ryuk running in your own registry, right?