I have
volumes {
selinuxlabel = "z"
}
in my client’s configuration however the allocation public/local
folder via ls -alZ
shows
drwxrwxrwx. nobody nobody system_u:object_r:init_var_lib_t:s0 .
drwxrwxrwx. nobody nobody system_u:object_r:init_var_lib_t:s0 ..
-rw-r--r--. nobody nobody system_u:object_r:init_var_lib_t:s0 config.json
In the container I get the error
ls: cannot open directory '/local': Permission denied
And ls -al /
shows (truncated to relevant folders)
drwxrwxrwx. 2 99 99 44 Dec 4 20:58 local
drwxrwxrwx. 2 99 99 100 Dec 4 20:58 secrets
and ls -alZ /
shows (truncated to relevant folders)
drwxrwxrwx. 2 99 99 system_u:object_r:init_var_lib_t:s0 44 Dec 4 20:58 local
drwxrwxrwx. 2 99 99 system_u:object_r:tmpfs_t:s0 100 Dec 4 20:58 secrets