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

Respect system/user settings in registries.conf[.d] #415

Open
andremarianiello opened this issue Jan 31, 2024 · 0 comments
Open

Respect system/user settings in registries.conf[.d] #415

andremarianiello opened this issue Jan 31, 2024 · 0 comments

Comments

@andremarianiello
Copy link
Contributor

Right now I am working in an environment where docker.io images are pulled through a read-through cache to avoid hitting docker.io rate limits. The mirroring and caching is configured on systems using registries.conf/registries.conf.d. However, I hit the docker rate limits when using osbuild-composer. I think I tracked the root cause down to this bit of code.

		sysCtx: &types.SystemContext{
			RegistriesDirPath:        "",
			SystemRegistriesConfPath: "",
			BigFilesTemporaryDir:     "/var/tmp",

			OSChoice: "linux",

			AuthFilePath: GetDefaultAuthFile(),
		},

SystemRegistriesConfPath and SystemRegistriesConfigDir are not set. Setting these the same way podman does would solve my problem, and probably any more that would result from config drift.

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

No branches or pull requests

1 participant