angelnu / docker-ccu

Script to create a docker container with the CCU2 firmware
Apache License 2.0
32 stars 13 forks source link

/proc/device-tree/model not found on docker 1.13.1 #4

Closed marbon87 closed 7 years ago

marbon87 commented 7 years ago

I updated my docker daemon to version 1.13.1 today and since then i cannot start the ccu2-image anymore, because the file /proc/device-tree/model does not exist in the container.

When i try to start the container, i get the following error(s):

Checking device
grep: /proc/device-tree/model: No such file or directory
grep: /proc/device-tree/model: No such file or directory
cat: can't open '/proc/device-tree/model': No such file or directory
Do not recognize HW  -> Exiting
Checking device
grep: /proc/device-tree/model: No such file or directory
grep: /proc/device-tree/model: No such file or directory
cat: can't open '/proc/device-tree/model': No such file or directory
Do not recognize HW  -> Exiting
Checking device
grep: /proc/device-tree/model: No such file or directory
grep: /proc/device-tree/model: No such file or directory
cat: can't open '/proc/device-tree/model': No such file or directory
Do not recognize HW  -> Exiting
Checking device
grep: /proc/device-tree/model: No such file or directory
grep: /proc/device-tree/model: No such file or directory
cat: can't open '/proc/device-tree/model': No such file or directory
Do not recognize HW  -> Exiting

I changed entrypoint.sh by removing the if-else-block for hardware detection at the top and then the container starts.

I am not sure if it has to do with docker 1.13.1 or my setup. Does anybody else has a problem with docker version 1.13.1?

angelnu commented 7 years ago

Fixed in latest version after I updated to 1.13 in my Orangepi