docker-images
docker-images copied to clipboard
Volumes not correctly mounted when SELinux in enforcing mode (default for Oracle Linux 8)
Trying to execute the install process in Oracle Linux 8 Cloud Developer in OCI. Oracle Linux 8, by default, has SELinux enables (enforcing mode). With this, the mounted volumes fails with "Access Denied" error.
As workaround
- Disable SELinux Open the /etc/selinux/config file (in some systems, the /etc/sysconfig/selinux file). Change the line SELINUX=enforcing to SELINUX=permissive. Save and close the file. Reboot your system
- Or edit the scripts to add the Z option in volume mount (e.g. here)
@AmedeeBulle, maybe you have some recommendations/insights here?