Skip to content

Advice on options overlay metacopy=off redirect_dir=off #9

@polarathene

Description

@polarathene

There is advice from articles such as this one to disable OverlayFS module options: metacopy + redirect_dir.

On one of my systems both are enabled by default (personal system), while another they're both disabled (VPS). docker info likewise confirms the "Native Overlay Diff" as false for the personal system, and true for the VPS.

Your wiki article on container recommendations encourages these options to be enabled, but at the end mentions to downgrade / disable them for building images?


Can you clarify if the blog article is encouraging to improve the build with "Native Overlay Diff", at the expense of benefits elsewhere from no longer having those features enabled?

It doesn't seem practical to get the best of both if that involves unloading the kernel module each time to change the options?

Besides containers, I assume there is possibly other reasons why you might not want to disable the options?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions