Unable to Install Node Exporter

Hi,

I’m on the latest TrueNAS. I’m getting the error as given below when trying to install Node Exporter.

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: unable to apply apparmor profile: apparmor failed to apply profile: open /proc/thread-self/attr/apparmor/exec: read-only file system: unknown

I tried to install it plain too, using the below.

docker run -d --name node-exporter \ --net=host --pid=host \ --security-opt=apparmor:unconfined \ -v /proc:/proc:ro -v /sys:/sys:ro -v /:/rootfs:ro \ prom/node-exporter:latest \ --path.procfs=/proc --path.sysfs=/sys --path.rootfs=/rootfs

Is anyone of you using Node Exporter on Prometheus on TrueNAS 25.04? Please help.