Skip to content

Create appropriate mount ownership inside unpriveledged containers #17

@idroz

Description

@idroz

By default, unprivileged containers will not see mounted directories. A workaround for this is to fully configure user/group mapping between host and a container - https://stgraber.org/2017/06/15/custom-user-mappings-in-lxd-containers/

in lxc, this is achieved through lxc.idmap configuration, which directly maps user or group id to the container

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions