A confusion with non-root user to run onedev server (OD-2103)
alion opened 1 year ago

Is it true that onedev-server has to be run under root, if not then how do I add a server docker executor under non-root, I've tried it and it has no permission to run docker.

  • alion commented 1 year ago

    The source of my confusion is the installation docs. 截屏2024-09-24 下午9.09.56.png

    In this docs, It seems to run under a non-root user, But there is no further description of non-root

  • Robin Shen commented 1 year ago

    OneDev may run as non-root, however, the user needs to has permission to run docker container for CI/CD builds.

  • alion commented 1 year ago

    thank you for the reply, I think it would be better to point out these limitations for non-root users here

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2103
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover