2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 10:50:28 +00:00

add a section to disable Apparmor/SElinux on Docker host

This commit is contained in:
immarvin
2016-01-26 21:19:25 -05:00
parent cdfda7d1c4
commit 1f10c9ecdf

View File

@ -14,6 +14,21 @@ You can select a baremental or virtual server with the Operating Systems which d
**Note:** **Docker image** can only run on the **Docker host** with the same architecture. Since xCAT currently only ships x86_64 and ppc64le Docker images, running xCAT in Docker requires x86_64 or ppc64le **Docker hosts**.
Shutdown the SELinux/Apparmor on Docker host
--------------------------------------------
If the SELinux or Apparmor on Docker host is enabled, the services/applications inside Docker Container might be confined.
SELinux can be disabled with: ::
echo 0 > /selinux/enforce
sed -i 's/^SELINUX=.*$/SELINUX=disabled/' /etc/selinux/config
AppArmor can be disabled with: ::
/etc/init.d/apparmor teardown
An example configuration in the documentation
---------------------------------------------