Closed tppalani closed 10 months ago
@mtrmac is this bc containers-image only looks for images based on linux?
@rhatdan any opinions on whether we should allow this in skopeo (if not already, my initial tries didnt work)?
$ skopeo inspect --raw docker://mcr.microsoft.com/windows/nanoserver:ltsc2022 | jq
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
"manifests": [
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 429,
"digest": "sha256:505fd350350a443863a2f8e827878216343389429572ec5e7b89aab4d18dce10",
"platform": {
"architecture": "amd64",
"os": "windows",
"os.version": "10.0.20348.2159"
}
}
]
}
Yes, on a Linux system we wouldn’t automatically choose to pull a Windows-targeted image.
I mean, the image is not going to run on that system anyway (Podman, to my knowledge, has no support for Windows native containers), so what’s the reason to pull it? What are you ultimately trying to do? Is this some attempt to copy the image elsewhere? Inspect it locally?
I would expect this to be possible with … pull --os windows …
, but I also think there’s a reasonably high change podman pull
should not be used in the first place.
A friendly reminder that this issue had no activity for 30 days.
Closing; please reopen if more information becomes available.
Issue Description
Not able to pull mcr.microsoft.com/windows/nanoserver:ltsc2022 container image using podman GUI and git bas URL as well
Steps to reproduce the issue
Steps to reproduce the issue 1. 2. 3.
Describe the results you received
Describe the results you received
Describe the results you expected
Describe the results you expected
podman able to pull both windows and linux based container
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
This is blocking out windows workload in azure onboarding application we need something equivalent to like this $Env:ProgramFiles\Docker\Docker\DockerCli.exe -SwitchDaemon
it would be helpful if somebody help me on this
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting