Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Customize docker registry for ryuk image when using default resource reaper #6800

Closed
Zubastick opened this issue Mar 23, 2023 · 2 comments

Comments

@Zubastick
Copy link

Zubastick commented Mar 23, 2023

Module

None

Problem

Its not possible to download ryuk image when proxy repositories are used due to Ryuk image location is hardcoded.

RyukContainer() {
    super("testcontainers/ryuk:0.3.4");

Solution

Add environment variable that will allow to change it.

Similar issue was raised for dotnet implementation and they have resolved it:

testcontainers/testcontainers-dotnet#483

Benefit

Will be able to use Ryuk in company restricted environments

Would you like to help contributing this feature?

Yes

@eddumelendez
Copy link
Member

Please, check the docs TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX is what you are looking for. If it is specific to ryuk then you can also use ryuk.container.image. See customizing images

@Zubastick
Copy link
Author

Thanks! It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants