fix: lower nofile ulimit to 65536 for rootless Docker compatibility

Rootless Docker cannot set RLIMIT_NOFILE to 1048576 on all hosts
(notably Arch Linux with Docker 29), causing container creation to
fail with "error setting rlimit type 7: operation not permitted".
65536 is a safe value that works across all supported platforms.

Closes GRM-158

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Emil Simeonov
2026-08-05 23:46:47 +00:00
committed by emo
co-authored by Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent e32ba51a7d
commit 8ffd8436c8
+1 -1
View File
@@ -50,7 +50,7 @@ gitea_runner_docker_live_restore: true
gitea_runner_docker_shutdown_timeout: 30
gitea_runner_docker_max_concurrent_downloads: 3
gitea_runner_docker_max_concurrent_uploads: 3
gitea_runner_docker_default_nofile: 1048576
gitea_runner_docker_default_nofile: 65536
# Admin token for runner deregistration via Gitea API.
# If not set, falls back to registration_token (which likely lacks admin scope).