fix: wipe the pre-seeded podman storage before build #11
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!11
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/podman-fresh-storage"
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?
Third iteration on #7 — this time the two failures are consistent with each other and point at the real root cause.
Evidence
database graph driver "overlay" does not match our graph driver "vfs"at build.If the overlay database had been created by
podman login, the second run would have created a fresh vfs database instead. The only remaining explanation:quay.io/podman/stableships a pre-initialized graph root with the overlay driver, and podman 5 refuses driver switches against an existing database — thedriver = "vfs"from storage.conf only applies at database creation time, never retroactively.Fix
Wipe the pre-seeded graph root before any podman command:
combined with the existing vfs storage.conf, podman then creates a fresh vfs database used consistently by login, build and push. The pre-seeded overlay storage is only there to make podman-in-podman work out of the box — we do not need it.
Wiki updates on merge
Nothing to update in the Wiki.