Stereoscope pulls different images when using docker:
vs registry:
from multi-platform images
#149
Labels
bug
Something isn't working
What happened:
On an arm machine, stereoscope produces different results when pulling a multi-platform image using
docker
scheme vsregistry
scheme.The
docker
scheme correctly infers the host architecture and pulls the correct matching image whereas theregistry
scheme pulls onlyamd64/linux
image when platform is not explicitly provided.What you expected to happen:
The platform for both images should be the same, preferably the host platform.
If inference of platform is not intended in an OCI/registry source, this difference should be verbose in debug logs or in documentation.
How to reproduce it (as minimally and precisely as possible):
On an arm machine,
registry
scheme yields anx86
image (incorrectly)On the same machine,
docker
scheme yields anarm
image (correctly)Anything else we need to know?:
DaemonImageProvider
infers host platform and pulls the correct image whereasRegistryImageProvider
uses go-containerregistry which defaults toamd64/linux
when platform is missing rather than inferring the host platform.See also:
Environment:
The text was updated successfully, but these errors were encountered: