Skip to content

Commit 4b14c80

Browse files
authored
Merge pull request #14915 from nextcloud/backport/14905/stable33
[stable33] docs(admin): clarify SYS_NICE capability is Docker-specific
2 parents db68cd5 + 0d7f617 commit 4b14c80

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
@@ -251,8 +251,10 @@ Nextcloud to use Imaginary by editing your ``config.php`` file:
251251

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

257259
.. note::
258260

0 commit comments

Comments
 (0)