feat: add --runtime support for custom docker run options#8113
feat: add --runtime support for custom docker run options#8113gluonfield wants to merge 4 commits into
Conversation
This enables users to specify container runtimes like gVisor (runsc) via the Custom Docker Run Options field. Example usage: --runtime=runsc This is useful for running untrusted workloads in sandboxed runtimes that provide additional isolation beyond standard runc. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
I was unable to get gVisor working otherwise because some coolify helpers cannot be used with gvisor, while deployed apps can |
|
Any feedback @andrasbacsai @peaklabs-dev @ShadowArcanist? I am currently running my own fork on coolify, but would like to run |
Add support for --pids-limit option in CustomDockerRunOptions to allow limiting the number of processes that can be created within a container. This provides an additional security hardening option for deployments. - Add --pids-limit to the mapping in convertDockerRunToCompose() - Add parsing logic for both --pids-limit=value and --pids-limit value formats - Add tests for the new option
|
Hi @gluonfield! 👋 It appears to us that you are adding a new feature to Coolify. Coolify Docs Repository: https://github.com/coollabsio/coolify-docs |
|
I have proposed PR to update documentation with this |
STRAWBERRY
Changes
Added support for the
--runtimeDocker option in Custom Docker Run Options field. This enables users to specify alternative container runtimes like gVisor (runsc) for enhanced security isolation.Files modified:
bootstrap/helpers/docker.php: Added--runtimeto the$mappingarray, added parsing logic for--runtime=valueand--runtime valueformats, added handling in compose options sectiontests/Feature/DockerCustomCommandsTest.php: Added 3 test cases for runtime option parsingIssue
Category
Screenshots or Video (if applicable)
Not applicable - this is a backend change to option parsing.
AI Usage
Steps to Test
Contributor Agreement
Important