When using podman commit the container fails to boot after trying to run fixfiles #1087
Unanswered
lollipopman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following test Containerfile which boots fine:
However, if I run the container with podman and then use
podman commit
tosave the modified image, I am not able to boot it via bootc upgrade.
When I try to boot the image it complains that the filesystem needs to be re-labeled and tries to run
fixfiles
, which fails because the filesystem is readonly, at which point the system reboots.Is there another step I need to make after running
podman commit
to fix the selinux labels?Yours kindly, Jesse
boot output:
Beta Was this translation helpful? Give feedback.
All reactions