You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
container_selinux \- Security Enhanced Linux Policy for the container processes
4
4
.SH "DESCRIPTION"
@@ -39,6 +39,14 @@ For example one process might be launched with container_t:s0:c1,c2, and another
39
39
SELinux policy is customizable based on least access required. container policy is extremely flexible and has several booleans that allow you to manipulate the policy and run container with the tightest access possible.
40
40
41
41
42
+
.PP
43
+
If you want to allow containers to use any xserver device volume mounted into container, mostly used for GPU acceleration, you must turn on the container_use_xserver_devices boolean. Disabled by default.
44
+
45
+
.EX
46
+
.Bsetsebool-Pcontainer_use_xserver_devices1
47
+
48
+
.EE
49
+
42
50
.PP
43
51
If you want to deny any process from ptracing or debugging any other processes, you must turn on the deny_ptrace boolean. Disabled by default.
44
52
@@ -136,8 +144,6 @@ The SELinux process type container_t can manage files labeled with the following
@@ -236,14 +242,6 @@ container policy stores data with multiple different file context types under th
236
242
.Brestorecon-R-v/srv/docker
237
243
.PP
238
244
239
-
.PP
240
-
container policy stores data with multiple different file context types under the /var/lib/kubelet directory. If you would like to store the data in a different directory you can use the semanage command to create an equivalence mapping. If you wanted to store this data under the /srv directory you would execute the following command:
container policy stores data with multiple different file context types under the /var/lib/nerdctl directory. If you would like to store the data in a different directory you can use the semanage command to create an equivalence mapping. If you wanted to store this data under the /srv directory you would execute the following command:
0 commit comments