fix: use the podman image's native overlay storage #13
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
serious-devs/ai-factory!13
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/use-native-overlay"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fifth iteration on #7 — and this one answers your question: why vfs at all?
Short answer: we shouldn't. vfs was my initial "safe in nested containers" choice, but the four runs disprove the precaution:
podman loginworked from the very first run → the image's storage is already functional;quay.io/podman/stable(built for podman-in-podman, with its VOLUME);/etc/containers/storage.conf, redirected graphroot — hit the same mismatch, because podman 5 refuses driver switches against that native database, anddriverin storage.conf only applies at database creation time.So the fix is a removal: drop the storage step entirely and the
--storage-driver=vfsflag — podman uses its native, self-consistent overlay setup. Fewer lines, no overrides, matches how the image is designed to be used.Fallback if the kernel ever refuses overlay-on-overlay (unlikely under
--privileged): podman will say so explicitly (overlay is not available), and the next step would be an explicitfuse-overlayfsconfiguration — but that is speculative; the evidence says the native storage works here.Wiki updates on merge
Nothing to update in the Wiki.