-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Native overlay storage has significant impact on container creation time and podman command responsiveness (podman images).
Switching back to fuse-overlayfs mitigates this issue, trading it off for some runtime cost. Note that for most rootless containers such as toolboxes, the performance overhead of fuse-overlayfs is likely negligible as the home directory is bind mounted and thus not going through fuse. Containers that also store their data in volumes are not penalized either.
# Record / backup your containers first as the command below will remove them all
$ podman systemd reset
# Create the storage config file with the content below
$ cat ~/.config/containers/storage.conf
[storage]
driver = "overlay"
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"
# Pull your containers again
See:
Original issue: Dependency on fuse-overlayfs in containers-common moved to Suggests
fuse-overlayfs has been moved from a Recommends to a Suggests in Fedora 40 and later:
- Rawhide: https://src.fedoraproject.org/rpms/containers-common/c/558d2ade830a984a7ec5f7068c4826c597566457
- F40: https://src.fedoraproject.org/rpms/containers-common/c/447945e59a01cb6715ed2a21877d45bf0b91ef67
I manually added it back in Fedora Atomic Desktops for F40: https://pagure.io/workstation-ostree-config/pull-request/526
In Fedora CoreOS we have it explicitly listed in https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/fedora-coreos-base.yaml#L106.
We should reach out to the podman folks to figure out if we should also remove it with the update to F41.