I have a application from LXC container. It need exec dmidecode. But when i exec the cmd, it give me the following:
/dev/mem: Operation not permitted
I had executed the following
$ lxc config device add container-name source=/dev/mem unix-char path=/dev/mem
But the issue is still there. So my question is how to access /dev/mem for host from container. Or how to map the /dev/mem of host to /dev/mem of containter.
Any comments are appreciated!