Open heitbaum opened 1 month ago
Thanks for reaching out. Using exactly that -ldflags
option when building Skopeo does affect the path for me:
% …/skopeo copy docker://a docker://b
FATA[0000] Error loading trust policy: open /storage/.kodi/addons/service.system.podman/etc/containers/policy.json: no such file or directory
What are the steps to reproduce / actual results / expected results?
Note that in a Podman remote scenario, the policy that mostly (exclusively?) applies is the one on the server side (typically inside the VM).
When building podman 5.2.2 with custom registries.conf - the options are not honoured.
https://github.com/containers/image/blob/31d4ad14fe4da8ef3969ff67297831ab291c76f1/pkg/sysregistriesv2/system_registries_v2.go#L26