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
podstorage: Fix pull_from_host_storage for containers-storage source
The previous fix (b64bed4) for unified storage with containers-storage
transport had a bug: pull_from_host_storage() called bind_storage_roots()
which made bootc storage the default for podman. When podman image push
ran, it looked for the source image in bootc storage instead of the
host's default storage (/var/lib/containers/storage), causing "image
not known" errors.
Fix this by:
- Not calling bind_storage_roots, so podman uses its default storage
- Passing an explicit storage_path parameter to pull_from_host_storage
- Specifying the bootc storage path in the destination transport
This allows podman to read from host storage and push to bootc storage
without changing any defaults.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
0 commit comments