Skip to content

Commit 8229b45

Browse files
authored
Merge pull request #14916 from nextcloud/backport/14905/stable34
[stable34] docs(admin): clarify SYS_NICE capability is Docker-specific
2 parents 34775dc + a486eee commit 8229b45

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

admin_manual/installation/server_tuning.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,10 @@ Nextcloud to use Imaginary by editing your ``config.php`` file:
252252

253253
Make sure to start Imaginary with the ``-return-size`` command line parameter. Otherwise, there will be a
254254
minor performance impact. The flag requires a recent version of Imaginary (newer than v1.2.4).
255-
Also, ensure to add the capability ``SYS_NICE`` via ``--cap-add=sys_nice`` or (for Compose)
256-
``cap_add: - SYS_NICE``, as it is required by Imaginary to generate HEIC previews.
255+
Also, if running Imaginary in Docker, ensure to add the Docker container capability ``SYS_NICE``
256+
via ``--cap-add=sys_nice`` (Docker CLI) or ``cap_add: - SYS_NICE`` (Docker Compose), as it is
257+
required by Imaginary to generate HEIC previews. This is not applicable when running Imaginary
258+
outside of Docker.
257259

258260
.. note::
259261

0 commit comments

Comments
 (0)