Install package on Host OS Image


Hi All,

Just wondering how I would go about installing an application package such as vnstat on HostOS such that it is part of the base install when you flash a new device?



Hello @dash,
you can’t add new applications to the HostOS as it could decrease the stability of the system.
You can only add it to a container.



Thanks @dansku. I’ll have try work around it. It’s possible to run vnstat in a docker container and use privileged mode to give it the access it requires to host network interfaces but I feel privileged mode should be avoided.