-
Notifications
You must be signed in to change notification settings - Fork 639
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
[Windows] nerdctl pull error: "no match for platform in manifest: not found" #3381
Comments
The error seems to come from here: nerdctl/cmd/nerdctl/image_pull.go Lines 82 to 90 in 1a55c72
|
Looks like nerdctl is built as a 32-bit binary on your environment? |
That is really weird.
@TinaMor can you clarify how you built it? |
Using |
Could you paste here:
Thanks. |
Go version: go version go1.22.6 windows/amd64 go build: go env:
Also this fails:
|
This is wild. Can you And also do comparison with |
Description
nerdctl misidentifies the host architecture, leading to incompatibility with the Windows container image.
Steps to reproduce the issue
nerdctl pull --debug mcr.microsoft.com/windows/nanoserver:ltsc2022
Describe the results you received and expected
Expected solution
User should not have to specify the GOARCH. It should pick the correct architecture automatically, by default, on build.
Actual output:
level=fatal msg="no match for platform in manifest: not found"
Complete logs:
Temporary solution (HACK)
Specify the architecture when building the app:
What version of nerdctl are you using?
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
(Check regression: #3158 )
The text was updated successfully, but these errors were encountered: