podman: Fail hard instead of pulling non-native image architecture

Feature request description

Consider we are on ppc64le host, and pulling docker://quay.io/centos/centos:7 -> that image doesn’t provide multi-arch manifest, and x86_64 image is silently pulled. Is there an option that will avoid even pulling such an image? I haven’t found this in skopeo copy either.

Suggest potential solution

No response

Have you considered any alternatives?

No response

Additional context

This has caused tricky issues with Mock for epel-7-ppc64le chroots builds when we started using --use-bootstrap-image (doing podman pull on background).

About this issue

  • Original URL
  • State: open
  • Created 10 months ago
  • Comments: 17 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@praiskup, you can run podman version --format "{{.OsArch}}"