Novo perfil:
sudo tee /etc/apparmor.d/lxc/lxc-default-with-proc-mounting <<EOM
profile lxc-default-with-proc-mounting flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/lxc/container-base>
mount fstype=proc options=ro -> /**,
}
EOM
Na configuração do contêiner:
lxc.aa_profile = lxc-default-with-proc-mounting
Atualizar perfis:
sudo systemctl reload apparmor
Reinicie o contêiner.