Skip to content

Mount propagation flags don't work #263

@rhvgoyal

Description

@rhvgoyal

Currently if I specify a mount propagation flag in "options", it does not take effect. For example try following bind mount in config.json.

{
"type": "bind",
"source": "/root/mnt-source",
"destination": "/root/mnt-dest",
"options": "rbind,shared"
}

And inside container check the properties of mount.

$ findmnt -o TARGET,PROPAGATION /root/mnt-dest
/root/mnt-dest private

It continues to be private, despite the fact user requested for it to be "shared".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions