Access to Dell Open Manage from inside a docker container

Hi, I am new to Docker, I am sorry if I am just being stupid, I am facing this thing that I don’t know how to procced.
1- I have a DELL server running AlmaLinux OS, on which I use (Dell Open Manage) to know hardware state using commands like:

# /opt/dell/srvadmin/bin/omreport chassis

–(It works)
2- I have implemented a spring-boot application that uses Runtime.getRuntime().exec(commands) to get the results of the previous command.
–(It works)
3- I need to run this spring-boot application in a docker container, and here is my problem:

  • It does not work. No matter what I try to do, I am always getting errors like:
    “No hardware or Feature detected.”, “Make sure Server Administrator service are running.”

I read that I should add “/dev/mem” to the container and I also have a volume with access to “/opt/dell”, but that is not enough.


        - "/dev/mem:/dev/mem"
        - /opt/dell:/opt/dell

Does anyone know how I can make this to work ?

Thank you so much in advance…

Hi, you can try and add

privileged: true

but not sure it will work