You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
install: Make --skip-fetch-check more discoverable #437
The original intent of the fetch check (see --help for it) was around the registry credentials; it happened to pick up the local-only image case as well.
I am a bit uncertain about the visibility if we lowered this to a warning...but maybe what would help is to have a nice "warnings" section both during and after the install process is complete to ensure they're visible. (This also relates a lot to #381 ...in theory, we could also do the fetch check there as part of the build!)
Now regarding local images, I guess there's at least four cases:
Installing from a registry, things are configured (the "default")
Installing from a registry tag, but I'm working offline e.g. ✈️ and I don't want to go check the internet (same rationale behind why podman run has e.g. --pull=newer that's not on by default)
Installing from the special localhost/ podman registry tag that cannot be remote, e.g. localhost/someimage...we should probably special case this
Installing with --target-imgref being a non-registry transport like oci-archive (this one it seems like we should probably just skip the fetch check, as you may be intending to update over e.g. USB keys which aren't plugged in)
Activity
cgwalters commentedon Mar 26, 2024
Per #436 (comment) you definitely can, just need to
--skip-fetch-check. I'll expand the error message.(This is what https://gitlab.com/bootc-org/podman-bootc-cli always does right now for example)
[-]bootc install does not let me install a local image[/-][+]install: Make --skip-fetch-check more discoverable[/+]stefwalter commentedon Mar 26, 2024
Which is this an error? Why isn't it a warning, by default?
cgwalters commentedon Mar 26, 2024
The original intent of the fetch check (see
--helpfor it) was around the registry credentials; it happened to pick up the local-only image case as well.I am a bit uncertain about the visibility if we lowered this to a warning...but maybe what would help is to have a nice "warnings" section both during and after the install process is complete to ensure they're visible. (This also relates a lot to #381 ...in theory, we could also do the fetch check there as part of the build!)
Now regarding local images, I guess there's at least four cases:
podman runhas e.g.--pull=newerthat's not on by default)localhost/podman registry tag that cannot be remote, e.g.localhost/someimage...we should probably special case this--target-imgrefbeing a non-registry transport likeoci-archive(this one it seems like we should probably just skip the fetch check, as you may be intending to update over e.g. USB keys which aren't plugged in)cgwalters commentedon May 18, 2025
We ended up implementing this in #1256