Skip to content

Avoid platforms.Default by passing arch down earlier #74

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

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

tianon
Copy link
Member

@tianon tianon commented Apr 7, 2023

In certain esoteric uses, I was seeing ERRO[0002] failure getting variant error="getCPUInfo for pattern: Cpu architecture: not found" from containerd's architecture detection code, and tracked it down to containerd.New invoking platforms.Default because we didn't pass one, but we do have an appropriate one, so this updates the code to pass it down appropriately.

@yosifkit yosifkit merged commit ab914df into docker-library:master Apr 7, 2023
@yosifkit yosifkit deleted the avoid-platforms.Default branch April 7, 2023 21:26
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

Successfully merging this pull request may close these issues.

2 participants