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

remote.NewImage() with remote.FromBaseImage() fails on Windows when provided a manifest list #54

Open
natalieparellano opened this issue Aug 5, 2020 · 2 comments
Labels

Comments

@natalieparellano
Copy link
Member

E.g.,

remote.NewImage(tags[0], authn.DefaultKeychain, remote.FromBaseImage("mcr.microsoft.com/windows/nanoserver:1809") (a manifest list)

fails with

connect to repo store 'mcr.microsoft.com/windows/nanoserver:1809': no child with platform amd64/linux in index mcr.microsoft.com/windows/nanoserver:1809

Whereas

remote.NewImage(tags[0], authn.DefaultKeychain, remote.FromBaseImage("mcr.microsoft.com/windows/nanoserver:1809-amd64") (an image index)

works just fine.

@ekcasey
Copy link
Member

ekcasey commented Aug 5, 2020

Makes sense. I think remote.NewImage, needs a WithPlatform option that we can pass through to ggcr so we can select the correct manifest from the list.

@jjbustamante
Copy link
Member

Hi @ekcasey @natalieparellano, I am planning to give it a shot to this issue, right now I am receiving help to create a VM with windows where I can actually have administration permissions to install tools on it, once that's done, I will prepare my environment and try to reproduce the issue.

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

No branches or pull requests

3 participants