[GH-ISSUE #501] Running DocumentServer as NonRoot #240

Closed
opened 2026-02-26 10:31:14 +03:00 by kerem · 4 comments
Owner

Originally created by @derfl0 on GitHub (Sep 22, 2022).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/501

Do you want to request a feature or report a bug?
bug

What is the current behavior?
Server does not start. Ton of permission denied during startup

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Run container with user other than root (e.g. ds) Warning! you need to kill the process from another console, since ^C is ignored.
docker run --rm --platform=linux/amd64 --user ds onlyoffice/documentserver

What is the expected behavior?
Server should start without root permissions

Did this work in previous versions of DocumentServer?
No

DocumentServer Docker tag:
latest

Host Operating System:
Docker

Hey Onlyoffice Team,

i am trying to setup Onlyoffice on a cluster which does not allow me to run anything as root.

Since I am new to only office, it feels to me like you could run a lot of stuff you're running at startup already at buildtime, eg generating fonts. Also would it be possible to provide a plain Docker image without postgressql, Nginx, etc in it only running the application itself?

Originally created by @derfl0 on GitHub (Sep 22, 2022). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/501 **Do you want to request a *feature* or report a *bug*?** bug **What is the current behavior?** Server does not start. Ton of permission denied during startup **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** Run container with user other than root (e.g. ds) **Warning!** you need to kill the process from another console, since ^C is ignored. `docker run --rm --platform=linux/amd64 --user ds onlyoffice/documentserver` **What is the expected behavior?** Server should start without root permissions **Did this work in previous versions of DocumentServer?** No **DocumentServer Docker tag:** latest **Host Operating System:** Docker Hey Onlyoffice Team, i am trying to setup Onlyoffice on a cluster which does not allow me to run anything as root. Since I am new to only office, it feels to me like you could run a lot of stuff you're running at startup already at buildtime, eg generating fonts. Also would it be possible to provide a plain Docker image without postgressql, Nginx, etc in it only running the application itself?
kerem 2026-02-26 10:31:14 +03:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@ShockwaveNN commented on GitHub (Sep 22, 2022):

I think it's similar issue with
https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/172

Which is currently not implemented

<!-- gh-comment-id:1254960498 --> @ShockwaveNN commented on GitHub (Sep 22, 2022): I think it's similar issue with https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/172 Which is currently not implemented
Author
Owner

@derfl0 commented on GitHub (Sep 22, 2022):

I think it's similar issue with #172

Which is currently not implemented

Ah sorry I missed that issue. Is it planned to implement in the near future?

<!-- gh-comment-id:1254968181 --> @derfl0 commented on GitHub (Sep 22, 2022): > I think it's similar issue with #172 > > Which is currently not implemented Ah sorry I missed that issue. Is it planned to implement in the near future?
Author
Owner

@ShockwaveNN commented on GitHub (Sep 22, 2022):

Sorry, it's up to developers and I cannot provide any time frame

If you running Onlyoffice in cluster - you probably have some kind of license - you can contact a support and they may change priorites

<!-- gh-comment-id:1255020459 --> @ShockwaveNN commented on GitHub (Sep 22, 2022): Sorry, it's up to developers and I cannot provide any time frame If you running Onlyoffice in cluster - you probably have some kind of license - you can contact a support and they may change priorites
Author
Owner

@igwyd commented on GitHub (Jun 3, 2024):

Hello @derfl0, this is Duplicate of #172

<!-- gh-comment-id:2144324327 --> @igwyd commented on GitHub (Jun 3, 2024): Hello @derfl0, this is Duplicate of #172
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#240
No description provided.