mviereck / dockerfile-x11docker-deepin

3D desktop deepin from China
MIT License
33 stars 11 forks source link

Failed to run `sudo dmidecode -t 4' in container. #46

Closed hongyi-zhao closed 3 years ago

hongyi-zhao commented 3 years ago

See following:

$ sudo dmidecode -t 4
# dmidecode 3.2
Scanning /dev/mem for entry point.
/dev/mem: No such file or directory
hongyi-zhao commented 3 years ago

Got it based on the notes here with the following options:

--device /dev/mem:/dev/mem --cap-add SYS_RAWIO