Policy for containers
false
Allow containers to manage cgroups. This is required for systemd to run inside containers.
false
Allow containers to manage all read-writable public content.
false
Allow container engines to mount on all non-security files.
false
Allow containers to read all public content.
false
Allow super privileged containers to create NFS servers.
false
Allow super privileged containers to use tun-tap devices.
false
Allow containers to use direct rendering devices.
false
Allow containers to use eCryptfs filesystems.
false
Allow containers to use all capabilities in a non-namespaced context for various privileged operations directly on the host.
false
Allow containers to use huge pages.
false
Allow containers to use the mknod syscall, e.g. for creating special device files.
false
Allow containers to use NFS filesystems.
false
Allow containers to use CIFS filesystems.
false
Allow containers to use the sysadmin capability, e.g. for mounting filesystems.
false
Allow containers to use all capabilities in a namespaced context for various privileged operations within the container itself.
false
Allow containers to use the mknod syscall in a namespaced context, e.g. for creating special device files within the container itself.
false
Allow containers to use the sysadmin capability in a namespaced context, e.g. for mounting filesystems within the container itself.
All of the rules required to administrate a container environment.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
role |
Role allowed access. |
Administrate all container files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Administrate all container read-only files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
All of the rules necessary for a user to manage user container runtime data in their user runtime directory.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to append data to container log files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create objects in an xdg_config directory with an automatic type transition to the container config home type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Allow the specified domain to create container config directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create container config files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create container log file directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create container log files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create runtime container directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Create objects in /dev with an automatic transition to the container device type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Allow the specified domain to perform a type transition to container domains.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition. |
Execute generic container engines in the container engine domain.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition. |
Do not audit attempts to relabel container file directories.
Parameter: | Description: |
---|---|
domain |
Domain to not audit. |
Do not audit attempts to relabel container files.
Parameter: | Description: |
---|---|
domain |
Domain to not audit. |
Do not audit attempts to read and write container chr files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Send and receive messages from container engines over dbus.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the generic container engine executables to be an entrypoint for the specified domain.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Make the specified type usable for files that are executables for container engines.
Parameter: | Description: |
---|---|
type |
Type to be used for files. |
Allow the specified domain to create objects in generic temporary directories with an automatic type transition to the container engine temporary file type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Allow the specified domain to execute container plugins.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create container files in the root directory with a type transition.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create objects in container /var/lib directories with an automatic transition to the container file type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Execute FUSEFS files with a type transition to the super privileged container type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Execute a generic container engine executable with an automatic transition to a private type.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition. |
target_domain |
The type of the new process. |
Allow the specified domain to get the attributes of all container file objects.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to get the attributes of all read-only container file character devices.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to get the attributes of all read-only container file objects.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to get the attributes of all container var lib objects.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Get the attributes of container device block files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to get the attributes of container filesystems.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to get the attributes runtime container of container runtime named sockets.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
IOCTL container files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to send a kill signal to all containers.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition. |
Allow the specified domain to list the contents of container log directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to list the contents of container plugin directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to list the contents of read-only container file directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to list the contents of container directories in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create objects in log directories with an automatic transition to the container log type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
All of the permissions necessary for a container engine to manage container processes.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
All of the rules necessary for a user to manage container data in their home directory.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container chr files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container config files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Manage container device files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container file directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container engine temporary files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container engine temporary named sockets.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container fifo files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container config home content.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container data home named pipes.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container data home files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container data home named sockets.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container lnk files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container log file directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container log files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container log symlinks.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container plugin files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage runtime container named pipes.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage runtime container files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage runtime container symlinks.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage runtime container named sockets.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container sock files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage user runtime container files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container file directories in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container named pipes in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container files in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container symlinks in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to manage container named sockets in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to memory map container files in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Mount on all container devices.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Make the specified type usable as a mountpoint for containers.
Parameter: | Description: |
---|---|
file_type |
Type to be used as a mountpoint. |
Read the process state (/proc/pid) of all container engines.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Read the process state (/proc/pid) of all containers.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read container config files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Read container device block files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read container engine temporary files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Read container config home content.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read runtime container files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Read the process state (/proc/pid) of all system containers.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Read the process state (/proc/pid) of all user containers.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read container files in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to relabel container files and directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to relabel container filesystems.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to remount container filesystems.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Execute generic container engines in the container engine domain, and allow the specified role the container domain.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition |
role |
The role to be allowed the container domain. |
Allow the specified domain to be started by systemd socket activation using a named socket labeled the container runtime type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read and write container chr files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read and write container config files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Read and write container device files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read and write container fifo files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Read and write super privileged container TCP sockets.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to read and write user runtime container named sockets.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to search container config directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to search container engine temporary directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to search container log file directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to search runtime container directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to search container directories in /var/lib.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Set the attributes of container ptys.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to send all signals to a container domain.
Parameter: | Description: |
---|---|
domain |
Domain allowed to transition. |
Send signals to a system container.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create objects in specified directories with an automatic type transition to the container file type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
domain |
Directory to transition on. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Allow the specified domain to start systemd units for containers.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Connect to a container domain over a unix stream socket.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Connect to super privileged containers over a unix stream socket.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Connect to the specified container domain over a unix stream socket.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Connect to a system container domain over a unix stream socket.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Connect to a system container engine domain over a unix stream socket.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Connect to a user container domain over a unix stream socket.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified container engine domain all the rules required to function as a system container engine.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create objects in unlabeled directories with an automatic type transition to the container var lib type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Read and write container ptys.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified container engine domain all the rules required to function as a user container engine.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to create objects in /var/lib with an automatic transition to the container var lib type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Allow the specified domain to create objects in /var/lib with an automatic transition to the container file type.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
object |
The object class of the object being created. |
name |
The name of the object being created. |
Allow the specified domain to watch container config directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to watch container file directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to watch container log file directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to watch container log files.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Allow the specified domain to add a watch on container plugin directories.
Parameter: | Description: |
---|---|
domain |
Domain allowed access. |
Base role access for containers. This grants all the rules necessary for common container usage.
Parameter: | Description: |
---|---|
role_prefix |
The prefix of the user role (e.g., user is the prefix for user_r). |
user_domain |
User domain for the role. |
user_exec_domain |
User exec domain for execute and transition access. |
role |
Role allowed access. |
The template to define a container domain.
Parameter: | Description: |
---|---|
domain_prefix |
Domain prefix to be used. |
The template to define a container engine domain.
Parameter: | Description: |
---|---|
domain_prefix |
Domain prefix to be used. |
Role access for system containers.
Parameter: | Description: |
---|---|
role_prefix |
The prefix of the user role (e.g., user is the prefix for user_r). |
user_domain |
User domain for the role. |
user_exec_domain |
User exec domain for execute and transition access. |
role |
Role allowed access. |
Unconfined role access for containers.
Parameter: | Description: |
---|---|
role_prefix |
The prefix of the user role (e.g., user is the prefix for user_r). |
user_domain |
User domain for the role. |
user_exec_domain |
User exec domain for execute and transition access. |
role |
Role allowed access. |
Role access for user containers.
Parameter: | Description: |
---|---|
role_prefix |
The prefix of the user role (e.g., user is the prefix for user_r). |
user_domain |
User domain for the role. |
user_exec_domain |
User exec domain for execute and transition access. |
role |
Role allowed access. |