Add SELinux option for volume bind mount#356
Add SELinux option for volume bind mount#356recursiveGecko wants to merge 1 commit intog0ldyy:mainfrom
Conversation
WalkthroughUpdated docker-compose volume mount for the comet service to append the SELinux volume option modifier “:z” on the host path mapping, without altering target paths or other service configuration. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
On systems with SELinux, bind mounts in user folders don't have the necessary SELinux labels to be accessed by containers. Adding the
zoption allows the mount to be accessed by any container and it shouldn't have any side effects on other systems.Docs: https://docs.docker.com/reference/compose-file/services/#volumes
Before:
After:
Summary by CodeRabbit
Bug Fixes
Chores