I’m trying to collect host metric from an incus container app (or a container)
I’have a working docker-compose … but I’m not able to translate to a working incus
instance.
I tried
security.privileged: "true"
raw.lxc: lxc.namespace.clone = net ipc cgroup pid
It is not a good idea because the host is replaced by the container, fun but dangerous because you need to restart in safe mode to fix it.
Is it possible?
If yes, is there a configuration to consider?
Thanks for your advice.
I’ve got a node_exporter system container hosted on an IncusOS instance. I’ve used Alpine with cloud-init to build the container. Here is the expanded configuration, but with the image.* and volatile.* keys pruned:
I use Incus on a desktop computer to run VM and container applications.
Server & applications run on containers, host run “desktop app”
I switched to Incus for simplified management and bridged network support.