Podman in LXC - what do overlay "not support file handles" and "conflicting options: userxattr,metacopy" mean?

marcosscriven

Active Member
Mar 6, 2021
142
13
38
I usually run Ubuntu server in my LXC containers, but wanting to try Podman, which really only works well on a Redhat/Fedora base.

Even though this is working, when I run podman commands in the LXC guest, I see two errors/warnings in the host logs:

Code:
overlayfs: conflicting options: userxattr,metacopy=on
overlayfs: fs on '/var/lib/containers/storage/overlay/l/M7PEJYQIJK7ZKMFO3QZEDB7VII' does not support file handles, falling back to xino=off.

I really have no idea what those mean, and wondering if/how to resolve them (because even though it works, I like to understand if somehow I'm losing performance or something else might not work because of it).
Googling showed some matches, but it always seemed incidental to the problem being described/resolved.
 
Last edited:
like docker, running podman inside LXC is asking for trouble. please use a proper VM for such workloads.
 
that doesn't really matter - LXC constrains what processes inside the container are allowed to do, and docker/podman want to manage these constraints themselves. there's an inherent conflict there that requires workarounds that can break at any time.
 
not a good idea either. please follow the recommendations and use a VM.