Skip to content

Instructions to run in rootless containers #151

@leleogere

Description

@leleogere

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

Currently, the containers run as root, meaning that all files and folders created belong to root, resulting in troubles when trying to back up the storage folder (as well as eventual security concerns linked to running containers as root in general).

Suggested solution

It would be nice to add in the doc instructions on how to run anytype without root privileges, like using UID/GID=1000/1000. And it might be even better to be the default if possible (I'm not sure if you need root for some features?)

Alternative

Currently, to back up the storage directory, you need either to run your backup utility as root, or chown the whole directory to your user. Both solutions are not ideal.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    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