Skip to content

Native overlay storage has significant impact on rootless containers creation time #1749

@travier

Description

@travier

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions