-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Docker Runner
-
1
-
6
Problem Definition
When running Docker Runner on CentOS or RHEL, we receive "Permission denied" errors when trying to access anything on the Home Directory Volume. This is caused by Security Enabled Linux Multi-Category Security (SELinux MCS) labels.
Suggested Solution
If RHEL or CentOS, add :Z to the volume mappings to label the contents of the directories with the correct Multi-Category Security labels.
For example:
| Host directory | Container directory |
|---|---|
| ${bamboo.working.directory} | ${bamboo.working.directory}:Z |
| ${bamboo.tmp.directory} | ${bamboo.tmp.directory}:Z |
Other alternatives can be found on this knowledge-base article:
- is incorporated by
-
BAM-19812 Expand Docker Runner OS compatibility
- Closed